]>
Commit | Line | Data |
---|---|---|
ff7c6d11 | 1 | error[E0687]: lifetimes used in `fn` or `Fn` syntax must be explicitly declared using `<...>` binders |
0731742a | 2 | --> $DIR/E0687.rs:4:15 |
ff7c6d11 | 3 | | |
532ac7d7 | 4 | LL | fn foo(x: fn(&'a u32)) {} |
ff7c6d11 XL |
5 | | ^^ in-band lifetime definition |
6 | ||
7 | error[E0687]: lifetimes used in `fn` or `Fn` syntax must be explicitly declared using `<...>` binders | |
0731742a | 8 | --> $DIR/E0687.rs:6:16 |
ff7c6d11 | 9 | | |
532ac7d7 | 10 | LL | fn bar(x: &Fn(&'a u32)) {} |
ff7c6d11 XL |
11 | | ^^ in-band lifetime definition |
12 | ||
13 | error[E0687]: lifetimes used in `fn` or `Fn` syntax must be explicitly declared using `<...>` binders | |
0731742a | 14 | --> $DIR/E0687.rs:8:15 |
ff7c6d11 | 15 | | |
532ac7d7 | 16 | LL | fn baz(x: fn(&'a u32), y: &'a u32) {} |
ff7c6d11 XL |
17 | | ^^ in-band lifetime definition |
18 | ||
19 | error[E0687]: lifetimes used in `fn` or `Fn` syntax must be explicitly declared using `<...>` binders | |
0731742a | 20 | --> $DIR/E0687.rs:13:26 |
ff7c6d11 | 21 | | |
532ac7d7 | 22 | LL | fn bar(&self, x: fn(&'a u32)) {} |
ff7c6d11 XL |
23 | | ^^ in-band lifetime definition |
24 | ||
25 | error: aborting due to 4 previous errors | |
26 | ||
f035d41b | 27 | For more information about this error, try `rustc --explain E0687`. |