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