error[E0601]: `main` function not found in crate `missing_main` --> $DIR/missing-main.rs:2:14 | LL | fn mian() { } | ^ consider adding a `main` function to `$DIR/missing-main.rs` error: aborting due to previous error For more information about this error, try `rustc --explain E0601`.