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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
121 B
Rust
Raw Normal View History

2016-05-19 07:00:43 -05:00
fn f(a: u16, b: &str) {}
2016-08-25 06:06:38 -05:00
fn f2(a: u16) {}
2016-05-19 07:00:43 -05:00
fn main() {
f(0);
//~^ ERROR E0061
2016-08-25 06:06:38 -05:00
f2();
//~^ ERROR E0061
2016-05-19 07:00:43 -05:00
}