fork/rust
git clone https://git.julia.blue/fork/rust
8d69840ab92
1.43.1
1error[E0687]: lifetimes used in `fn` or `Fn` syntax must be explicitly declared using `<...>` binders 2 --> $DIR/E0687_where.rs:4:31 3 | 4LL | fn bar<F>(x: &F) where F: Fn(&'a u32) {} 5 | ^^ in-band lifetime definition 6 7error[E0687]: lifetimes used in `fn` or `Fn` syntax must be explicitly declared using `<...>` binders 8 --> $DIR/E0687_where.rs:6:21 9 | 10LL | fn baz(x: &impl Fn(&'a u32)) {} 11 | ^^ in-band lifetime definition 12 13error: aborting due to 2 previous errors 14