1 // Test that we are able to normalize in the list of where-clauses,
2 // even if `'a: 'b` is required.
4 trait Project<'a, 'b> {
8 impl<'a, 'b> Project<'a, 'b> for ()
15 // No error here, we have 'a: 'b. We used to report an error here
16 // though, see https://github.com/rust-lang/rust/issues/45937.
19 <() as Project<'a, 'b>>::Item: Eq,
23 // Here we get an error: we need `'a: 'b`.
25 //~^ ERROR cannot infer
27 <() as Project<'a, 'b>>::Item: Eq,