]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/main-wrong-location.rs
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[rust.git] / src / test / ui / main-wrong-location.rs
index ef3f8140c68a043e9c21faa09702fed28c45c532..45be5f1478718851248b94703b51c4075b8720b8 100644 (file)
@@ -11,5 +11,5 @@
 mod m {
     // An inferred main entry point (that doesn't use #[main])
     // must appear at the top of the crate
-    fn main() { } //~ NOTE here is a function named 'main'
+    fn main() { }
 }