rust/tests/ui/error-codes/E0061.rs

12 lines
121 B
Rust

fn f(a: u16, b: &str) {}
fn f2(a: u16) {}
fn main() {
f(0);
//~^ ERROR E0061
f2();
//~^ ERROR E0061
}