1 error[E0308]: mismatched types
2 --> $DIR/signature-error-reporting-under-verbose.rs:10:15
5 | --------- ^^^ expected `u32`, found `i32`
7 | arguments to this function are incorrect
9 = note: expected fn pointer `fn(i32, u32)`
10 found fn item `fn(i32, i32) {foo}`
11 note: function defined here
12 --> $DIR/signature-error-reporting-under-verbose.rs:5:4
14 LL | fn needs_ptr(_: fn(i32, u32)) {}
15 | ^^^^^^^^^ ---------------
17 error: aborting due to previous error
19 For more information about this error, try `rustc --explain E0308`.