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

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

28 lines
768 B
Plaintext
Raw Normal View History

error[E0657]: `impl Trait` cannot capture higher-ranked lifetime from `dyn` type
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>>>
| ^^
|
note: lifetime declared here
--> $DIR/E0657.rs:10:16
|
LL | -> Box<for<'a> Id<impl Lt<'a>>>
| ^^
2018-02-08 03:35:35 +00:00
error[E0657]: `impl Trait` cannot capture higher-ranked lifetime from `dyn` type
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>>>
| ^^
|
note: lifetime declared here
--> $DIR/E0657.rs:19:20
|
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`.