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 12:00:43 +00:00
fn f(a: u16, b: &str) {}
2016-08-25 11:06:38 +00:00
fn f2(a: u16) {}
2016-05-19 12:00:43 +00:00
fn main() {
f(0);
//~^ ERROR E0061
2016-08-25 11:06:38 +00:00
f2();
//~^ ERROR E0061
2016-05-19 12:00:43 +00:00
}