// check-pass // compile-flags: -Z parse-only #![feature(generic_associated_types)] impl Baz for T where T: Foo { type Quux<'a> = ::Bar<'a, 'static>; } fn main() {}