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