]> git.lizzy.rs Git - rust.git/blob - src/test/ui/main-wrong-location.rs
Auto merge of #62339 - pnkfelix:issue-61188-use-visitor-for-structural-match-check...
[rust.git] / src / test / ui / main-wrong-location.rs
1 mod m {
2     // An inferred main entry point (that doesn't use #[main])
3     // must appear at the top of the crate
4     fn main() { }
5 }