fork/rust
git clone https://git.julia.blue/fork/rust
73528e339aa
1.40.0
1error[E0495]: cannot infer an appropriate lifetime for lifetime parameter `'a` due to conflicting requirements 2 --> $DIR/regions-normalize-in-where-clause-list.rs:22:1 3 | 4LL | / fn bar<'a, 'b>() 5LL | | where <() as Project<'a, 'b>>::Item : Eq 6LL | | { 7LL | | } 8 | |_^ 9 | 10note: first, the lifetime cannot outlive the lifetime `'a` as defined on the function body at 22:8... 11 --> $DIR/regions-normalize-in-where-clause-list.rs:22:8 12 | 13LL | fn bar<'a, 'b>() 14 | ^^ 15note: ...but the lifetime must also be valid for the lifetime `'b` as defined on the function body at 22:12... 16 --> $DIR/regions-normalize-in-where-clause-list.rs:22:12 17 | 18LL | fn bar<'a, 'b>() 19 | ^^ 20 = note: ...so that the types are compatible: 21 expected Project<'a, 'b> 22 found Project<'_, '_> 23 24error: aborting due to previous error 25 26For more information about this error, try `rustc --explain E0495`.