1 // Derived from `issue-87429`. A test that ensures that using bound vars in the
2 // predicates in the param env when checking that an associated type satisfies
3 // its bounds does not cause us to not be able to use the bounds on the parameters.
7 #![feature(generic_associated_types)]
10 type Member<'a, C: Eq>: for<'b> MyBound<'b, C>;
13 trait MyBound<'a, C> { }
14 impl<'a, C: Eq> MyBound<'a, C> for i32 { }
17 type Member<'a, C: Eq> = i32;