]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/main-wrong-location.stderr
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[rust.git] / src / test / ui / main-wrong-location.stderr
index aad68de9ec794837fd97c31816db662763dde755..a5ef92f14bbc58628de60b58dad9ba10129e7cb4 100644 (file)
@@ -1,4 +1,4 @@
-error[E0601]: main function not found
+error[E0601]: `main` function not found in crate `main_wrong_location`
    |
    = note: the main function must be defined at the crate level but you have one or more functions named 'main' that are not defined at the crate level. Either move the definition or attach the `#[main]` attribute to override this behavior.
 note: here is a function named 'main'