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

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

fn main() {}