1 error[E0308]: arguments to this function are incorrect
2 --> $DIR/two-mismatch-notes.rs:10:5
7 note: expected `i32`, found `u32`
8 --> $DIR/two-mismatch-notes.rs:10:9
12 = note: expected fn pointer `fn(i32)`
13 found fn item `fn(u32) {f}`
14 note: expected `i32`, found `isize`
15 --> $DIR/two-mismatch-notes.rs:10:12
19 = note: expected struct `Wrapper<i32>`
20 found struct `Wrapper<isize>`
21 note: function defined here
22 --> $DIR/two-mismatch-notes.rs:4:4
24 LL | fn foo(_: fn(i32), _: Wrapper<i32>) {}
25 | ^^^ ---------- ---------------
27 error: aborting due to previous error
29 For more information about this error, try `rustc --explain E0308`.