mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-15 01:10:36 +00:00
7 lines
188 B
Rust
7 lines
188 B
Rust
fn main() -> i32 {
|
|
//~^ ERROR `main` has invalid return type `i32`
|
|
//~| NOTE `main` can only return types that implement `Termination`
|
|
//~| HELP consider using `()`, or a `Result`
|
|
0
|
|
}
|