summaryrefslogtreecommitdiffstats
path: root/src/test/ui/generic-associated-types/parse/in-trait-impl.rs
blob: 7f4775ddbb0789ef295b964c13d270c70575a364 (plain)
1
2
3
4
5
6
7
8
9
10
// check-pass
// compile-flags: -Z parse-only

#![feature(generic_associated_types)]

impl<T> Baz for T where T: Foo {
    type Quux<'a> = <T as Foo>::Bar<'a, 'static>;
}

fn main() {}