Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
rfc-1937-termination-trait
/
termination-trait-main-i32.rs
blob: 09bd1c8492f919d8b4d6cf37df772ac1a3fc8892 [
file
] [
log
] [
blame
]
fn
main
()
->
i32
{
//~^ ERROR `main` has invalid return type `i32`
//~| NOTE `main` can only return types that implement `std::process::Termination`
//~| HELP consider using `()`, or a `Result`
0
}