2022-05-14 11:25:53 +02:00
|
|
|
error: higher kinded lifetime bounds on nested opaque types are not supported yet
|
|
|
|
--> $DIR/issue-67830.rs:21:62
|
2022-02-17 13:55:58 +00:00
|
|
|
|
|
2022-04-28 13:25:36 +00:00
|
|
|
LL | fn test() -> impl for<'a> MyFn<&'a A, Output=impl Iterator + 'a> {
|
2022-05-14 11:25:53 +02:00
|
|
|
| ^^
|
2022-02-17 13:55:58 +00:00
|
|
|
|
|
2022-05-14 11:25:53 +02:00
|
|
|
note: lifetime declared here
|
|
|
|
--> $DIR/issue-67830.rs:21:23
|
|
|
|
|
|
|
|
|
LL | fn test() -> impl for<'a> MyFn<&'a A, Output=impl Iterator + 'a> {
|
|
|
|
| ^^
|
2022-02-17 13:55:58 +00:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|