mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +00:00
28 lines
768 B
Plaintext
28 lines
768 B
Plaintext
error[E0657]: `impl Trait` cannot capture higher-ranked lifetime from `dyn` type
|
|
--> $DIR/E0657.rs:10:31
|
|
|
|
|
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>>>
|
|
| ^^
|
|
|
|
error[E0657]: `impl Trait` cannot capture higher-ranked lifetime from `dyn` type
|
|
--> $DIR/E0657.rs:19:35
|
|
|
|
|
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>>>
|
|
| ^^
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
For more information about this error, try `rustc --explain E0657`.
|