rust/tests/ui/error-codes/E0657.stderr

16 lines
508 B
Plaintext
Raw Normal View History

2018-02-07 21:35:35 -06:00
error[E0657]: `impl Trait` can only capture lifetimes bound at the fn or impl level
2018-12-25 09:56:47 -06:00
--> $DIR/E0657.rs:10:31
2018-02-07 21:35:35 -06:00
|
2018-02-24 17:59:34 -06:00
LL | -> Box<for<'a> Id<impl Lt<'a>>>
| ^^
2018-02-07 21:35:35 -06:00
error[E0657]: `impl Trait` can only capture lifetimes bound at the fn or impl level
2018-12-25 09:56:47 -06:00
--> $DIR/E0657.rs:19:35
2018-02-07 21:35:35 -06:00
|
2018-02-24 17:59:34 -06:00
LL | -> Box<for<'a> Id<impl Lt<'a>>>
| ^^
2018-02-07 21:35:35 -06:00
error: aborting due to 2 previous errors
2018-02-07 21:35:35 -06:00
For more information about this error, try `rustc --explain E0657`.