14 lines
180 B
Rust
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
|
|
}
|