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
|
|
|
|
2018-06-26 06:28:02 -05:00
|
|
|
error: aborting due to 2 previous errors
|
2018-02-07 21:35:35 -06:00
|
|
|
|
2020-03-30 12:46:44 -05:00
|
|
|
For more information about this error, try `rustc --explain E0657`.
|