// check-pass
// compile-flags: -Zsave-analysis

trait Trait { type Assoc; }

fn main() {
    struct Data<T: Trait> {
        x: T::Assoc,
    }
}

Test an assoc. type in struct member def inside fn
Test an assoc. type in struct member def inside fn
