fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
617 B15 linesraw
1error[E0582]: binding for associated type `Output` references lifetime `'a`, which does not appear in the trait input types
2  --> $DIR/E0582.rs:28:30
3   |
4LL |     where F: for<'a> Fn() -> Option<&'a i32>
5   |                              ^^^^^^^^^^^^^^^
6
7error[E0582]: binding for associated type `Item` references lifetime `'a`, which does not appear in the trait input types
8  --> $DIR/E0582.rs:36:31
9   |
10LL |     where F: for<'a> Iterator<Item=&'a i32>
11   |                               ^^^^^^^^^^^^
12
13error: aborting due to 2 previous errors
14
15For more information about this error, try `rustc --explain E0582`.