rust/tests/ui/fn/bad-main.rs
2023-01-11 09:32:08 +00:00

2 lines
72 B
Rust

fn main(x: isize) { } //~ ERROR: `main` function has wrong type [E0580]