]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/main-wrong-location.rs
Auto merge of #94584 - pnkfelix:inject-use-suggestion-sites, r=ekuber
[rust.git] / src / test / ui / main-wrong-location.rs
index f3acd80a7a48f0797a456bbd2b16794a135bcade..d7deeaed99da265dc77fa1519144cfcb4ce94437 100644 (file)
@@ -1,6 +1,5 @@
 mod m {
-//~^ ERROR `main` function not found
     // An inferred main entry point
     // must appear at the top of the crate
     fn main() { }
-}
+} //~ ERROR `main` function not found