blob: 1d69af5d9654a0a7556839a2169442adb3f41a6b [file] [log] [blame] [edit]
error[E0657]: `impl Trait` cannot capture higher-ranked lifetime from `dyn` type
--> $DIR/E0657.rs:10:27
|
LL | -> Box<dyn for<'a> Id<impl Lt<'a>>>
| ^^^^^^^^--^ `impl Trait` implicitly captures all lifetimes in scope
|
note: lifetime declared here
--> $DIR/E0657.rs:10:20
|
LL | -> Box<dyn for<'a> Id<impl Lt<'a>>>
| ^^
error[E0657]: `impl Trait` cannot capture higher-ranked lifetime from `dyn` type
--> $DIR/E0657.rs:19:31
|
LL | -> Box<dyn for<'a> Id<impl Lt<'a>>>
| ^^^^^^^^--^ `impl Trait` implicitly captures all lifetimes in scope
|
note: lifetime declared here
--> $DIR/E0657.rs:19:24
|
LL | -> Box<dyn for<'a> Id<impl Lt<'a>>>
| ^^
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0657`.