]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0582.stderr
Merge commit 'd3a2366ee877075c59b38bd8ced55f224fc7ef51' into sync_cg_clif-2022-07-26
[rust.git] / src / test / ui / error-codes / E0582.stderr
1 error[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    |
4 LL |     where F: for<'a> Fn() -> Option<&'a i32>
5    |                              ^^^^^^^^^^^^^^^
6
7 error[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    |
10 LL |     where F: for<'a> Iterator<Item=&'a i32>
11    |                               ^^^^^^^^^^^^
12
13 error: aborting due to 2 previous errors
14
15 For more information about this error, try `rustc --explain E0582`.