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