mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 20:54:13 +00:00
16 lines
617 B
Plaintext
16 lines
617 B
Plaintext
error[E0582]: binding for associated type `Output` references lifetime `'a`, which does not appear in the trait input types
|
|
--> $DIR/E0582.rs:28:30
|
|
|
|
|
LL | where F: for<'a> Fn() -> Option<&'a i32>
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
error[E0582]: binding for associated type `Item` references lifetime `'a`, which does not appear in the trait input types
|
|
--> $DIR/E0582.rs:36:31
|
|
|
|
|
LL | where F: for<'a> Iterator<Item=&'a i32>
|
|
| ^^^^^^^^^^^^
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
For more information about this error, try `rustc --explain E0582`.
|