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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
508 B
Plaintext
Raw Normal View History

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