]> git.lizzy.rs Git - rust.git/blob - src/test/ui/generic-associated-types/parse/in-trait-impl.rs
Rollup merge of #78086 - poliorcetics:as-placeholder, r=Mark-Simulacrum
[rust.git] / src / test / ui / generic-associated-types / parse / in-trait-impl.rs
1 // check-pass
2 // compile-flags: -Z parse-only
3
4 #![feature(generic_associated_types)]
5
6 impl<T> Baz for T where T: Foo {
7     type Quux<'a> = <T as Foo>::Bar<'a, 'static>;
8 }
9
10 fn main() {}