2020-01-08 20:02:10 +03:00
|
|
|
error[E0495]: cannot infer an appropriate lifetime for lifetime parameter `'a` due to conflicting requirements
|
2020-09-07 10:01:45 +01:00
|
|
|
--> $DIR/regions-normalize-in-where-clause-list.rs:24:4
|
2020-01-08 20:02:10 +03:00
|
|
|
|
|
2020-01-18 14:57:56 -08:00
|
|
|
LL | fn bar<'a, 'b>()
|
|
|
|
| ^^^
|
2020-01-08 20:02:10 +03:00
|
|
|
|
|
2021-10-05 12:11:51 +00:00
|
|
|
note: first, the lifetime cannot outlive the lifetime `'a` as defined here...
|
2020-07-24 21:59:43 +01:00
|
|
|
--> $DIR/regions-normalize-in-where-clause-list.rs:24:8
|
2020-01-08 20:02:10 +03:00
|
|
|
|
|
|
|
|
LL | fn bar<'a, 'b>()
|
|
|
|
| ^^
|
2021-10-05 12:11:51 +00:00
|
|
|
note: ...but the lifetime must also be valid for the lifetime `'b` as defined here...
|
2020-07-24 21:59:43 +01:00
|
|
|
--> $DIR/regions-normalize-in-where-clause-list.rs:24:12
|
2020-01-08 20:02:10 +03:00
|
|
|
|
|
|
|
|
LL | fn bar<'a, 'b>()
|
|
|
|
| ^^
|
|
|
|
note: ...so that the types are compatible
|
2020-07-24 21:59:43 +01:00
|
|
|
--> $DIR/regions-normalize-in-where-clause-list.rs:24:4
|
2020-01-08 20:02:10 +03:00
|
|
|
|
|
2020-01-18 14:57:56 -08:00
|
|
|
LL | fn bar<'a, 'b>()
|
|
|
|
| ^^^
|
2020-01-07 12:05:34 -08:00
|
|
|
= note: expected `Project<'a, 'b>`
|
|
|
|
found `Project<'_, '_>`
|
2020-01-08 20:02:10 +03:00
|
|
|
|
2022-07-08 10:59:35 +02:00
|
|
|
error: aborting due to previous error
|
2018-08-08 14:28:26 +02:00
|
|
|
|
2019-09-12 15:00:44 +02:00
|
|
|
For more information about this error, try `rustc --explain E0495`.
|