rust/tests/ui/main-wrong-type.rs

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

9 lines
113 B
Rust
Raw Normal View History

2013-03-06 21:09:17 -06:00
struct S {
x: isize,
y: isize,
2013-03-06 21:09:17 -06:00
}
fn main(foo: S) {
2020-01-04 18:17:46 -06:00
//~^ ERROR: `main` function has wrong type [E0580]
}