rust/src/test/ui/error-codes/E0061.rs
2020-02-11 12:42:00 -08:00

14 lines
180 B
Rust

fn f(a: u16, b: &str) {}
fn f2(a: u16) {}
fn main() {
f(0);
//~^ ERROR E0061
//~| expected 2 arguments
f2();
//~^ ERROR E0061
//~| expected 1 argument
}