rust/src/test/ui/main-wrong-location.rs
2018-12-25 21:08:33 -07:00

6 lines
134 B
Rust

mod m {
// An inferred main entry point (that doesn't use #[main])
// must appear at the top of the crate
fn main() { }
}