diff options
Diffstat (limited to 'src/test/ui/mismatched_types/E0631.stderr')
-rw-r--r-- | src/test/ui/mismatched_types/E0631.stderr | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/ui/mismatched_types/E0631.stderr b/src/test/ui/mismatched_types/E0631.stderr index 4d673d455..410ea4b0b 100644 --- a/src/test/ui/mismatched_types/E0631.stderr +++ b/src/test/ui/mismatched_types/E0631.stderr @@ -27,8 +27,8 @@ LL | bar(|_: isize| {}); note: required by a bound in `bar` --> $DIR/E0631.rs:4:11 | -LL | fn bar<F: Fn<usize>>(_: F) {} - | ^^^^^^^^^ required by this bound in `bar` +LL | fn bar<F: Fn<(usize,)>>(_: F) {} + | ^^^^^^^^^^^^ required by this bound in `bar` error[E0631]: type mismatch in function arguments --> $DIR/E0631.rs:9:9 @@ -65,8 +65,8 @@ LL | bar(f); note: required by a bound in `bar` --> $DIR/E0631.rs:4:11 | -LL | fn bar<F: Fn<usize>>(_: F) {} - | ^^^^^^^^^ required by this bound in `bar` +LL | fn bar<F: Fn<(usize,)>>(_: F) {} + | ^^^^^^^^^^^^ required by this bound in `bar` error: aborting due to 4 previous errors |