Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
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
}