mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
15 lines
473 B
Plaintext
15 lines
473 B
Plaintext
error: higher kinded lifetime bounds on nested opaque types are not supported yet
|
|
--> $DIR/issue-67830.rs:21:62
|
|
|
|
|
LL | fn test() -> impl for<'a> MyFn<&'a A, Output=impl Iterator + 'a> {
|
|
| ^^
|
|
|
|
|
note: lifetime declared here
|
|
--> $DIR/issue-67830.rs:21:23
|
|
|
|
|
LL | fn test() -> impl for<'a> MyFn<&'a A, Output=impl Iterator + 'a> {
|
|
| ^^
|
|
|
|
error: aborting due to previous error
|
|
|