mirror of
https://github.com/rust-lang/rust
synced 2024-10-01 06:14:33 +00:00
9 lines
113 B
Rust
9 lines
113 B
Rust
struct S {
|
|
x: isize,
|
|
y: isize,
|
|
}
|
|
|
|
fn main(foo: S) {
|
|
//~^ ERROR: `main` function has wrong type [E0580]
|
|
}
|