2022-05-14 04:25:53 -05:00
|
|
|
error: higher kinded lifetime bounds on nested opaque types are not supported yet
|
|
|
|
--> $DIR/issue-54895.rs:15:53
|
|
|
|
|
|
|
|
|
LL | fn f() -> impl for<'a> Trait<'a, Out = impl Sized + 'a> {
|
|
|
|
| ^^
|
|
|
|
|
|
|
|
|
note: lifetime declared here
|
|
|
|
--> $DIR/issue-54895.rs:15:20
|
|
|
|
|
|
|
|
|
LL | fn f() -> impl for<'a> Trait<'a, Out = impl Sized + 'a> {
|
|
|
|
| ^^
|
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2022-05-14 04:25:53 -05:00
|
|
|
|