]> git.lizzy.rs Git - rust.git/blob - tests/ui/main-wrong-location.rs
Rollup merge of #106113 - krasimirgg:llvm-16-ext-tyid, r=nikic
[rust.git] / tests / ui / main-wrong-location.rs
1 mod m {
2     // An inferred main entry point
3     // must appear at the top of the crate
4     fn main() { }
5 } //~ ERROR `main` function not found