]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/main-wrong-location.stderr
Rollup merge of #53317 - estebank:abolish-ice, r=oli-obk
[rust.git] / src / test / ui / main-wrong-location.stderr
index 0f775dba536ebd4aa763a52c08243739ec66f127..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'
@@ -9,4 +9,4 @@ LL |     fn main() { }
 
 error: aborting due to previous error
 
-If you want more information on this error, try using "rustc --explain E0601"
+For more information about this error, try `rustc --explain E0601`.