rustc/tests/ui/entry-point/issue-118772.rs
2024-06-14 12:43:07 +02:00

4 lines
93 B
Rust

fn main(_: &i32) { //~ ERROR `main` function has wrong type
println!("Hello, world!");
}