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