error[E0061]: this function takes 2 parameters but 1 parameter was supplied
--> src/test/compile-fail/E0061.rs:14:5
|
14 | f(0); //~ ERROR E0061
| ^^^^ expected 2 parameters
|
= note: the following parameter types were expected: u16, &str
error: aborting due to previous error
Bonus: the types could be incorporated into the label rather than a note (though we may want to avoid types with long names in the label)
cc @GuillaumeGomez
This issue tracks the bonus portions of issues #35215 and #35216. I worked on the
span_labelfixes for them and @jaredwy said he would take on the bonus portion.Bonus for E0060:
Bonus for E0061: