1 error[E0631]: type mismatch in closure arguments
2 --> $DIR/multiple-fn-bounds.rs:10:5
5 | ^^^ -------- found signature defined here
9 = note: expected closure signature `fn(char) -> _`
10 found closure signature `for<'a> fn(&'a char) -> _`
11 note: closure inferred to have a different signature due to this bound
12 --> $DIR/multiple-fn-bounds.rs:1:11
14 LL | fn foo<F: Fn(&char) -> bool + Fn(char) -> bool>(f: F) {
16 note: required by a bound in `foo`
17 --> $DIR/multiple-fn-bounds.rs:1:31
19 LL | fn foo<F: Fn(&char) -> bool + Fn(char) -> bool>(f: F) {
20 | ^^^^^^^^^^^^^^^^ required by this bound in `foo`
21 help: do not borrow the argument
23 LL | foo(move |char| v);
26 error: aborting due to previous error
28 For more information about this error, try `rustc --explain E0631`.