rust/src/test/ui/where-clauses/where-lifetime-resolution.stderr

22 lines
747 B
Plaintext
Raw Normal View History

2018-08-08 07:28:26 -05:00
error[E0261]: use of undeclared lifetime name `'a`
2018-12-25 09:56:47 -06:00
--> $DIR/where-lifetime-resolution.rs:6:34
2018-08-08 07:28:26 -05:00
|
LL | (for<'a> Trait1<'a>): Trait1<'a>,
| ^^ undeclared lifetime
error[E0316]: nested quantification of lifetimes
2018-12-25 09:56:47 -06:00
--> $DIR/where-lifetime-resolution.rs:8:13
2018-08-08 07:28:26 -05:00
|
LL | for<'a> for<'b> Trait2<'a, 'b>: Trait2<'a, 'b>,
| ^^^^^^^^^^^^^^^^^^^^^^
error[E0261]: use of undeclared lifetime name `'b`
2018-12-25 09:56:47 -06:00
--> $DIR/where-lifetime-resolution.rs:8:48
2018-08-08 07:28:26 -05:00
|
LL | for<'a> for<'b> Trait2<'a, 'b>: Trait2<'a, 'b>,
| ^^ undeclared lifetime
error: aborting due to 3 previous errors
For more information about this error, try `rustc --explain E0261`.