1 // Checks that we properly add implied bounds from unnormalized projections in
2 // inputs when typechecking functions.
6 #![feature(generic_associated_types)]
9 type Assoc<'a, 'b> where 'b: 'a;
10 fn do_sth(arg: Self::Assoc<'_, '_>);
11 fn do_sth2(arg: Self::Assoc<'_, '_>) {}
16 impl MyTrait for Foo {
17 type Assoc<'a, 'b> = u32 where 'b: 'a;
20 fn do_sth2(_: Self::Assoc<'static, 'static>) {}