2018-03-19 01:31:04 -05:00
|
|
|
fn main() -> i32 {
|
2018-03-21 23:28:48 -05:00
|
|
|
//~^ ERROR `main` has invalid return type `i32`
|
2018-03-25 01:29:57 -05:00
|
|
|
//~| NOTE `main` can only return types that implement `std::process::Termination`
|
2018-03-21 23:28:48 -05:00
|
|
|
//~| HELP consider using `()`, or a `Result`
|
2017-12-21 18:11:57 -06:00
|
|
|
0
|
|
|
|
}
|