]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/parser/lex-bad-char-literals-2.stderr
Provide a span if main function is not present in crate
[rust.git] / src / test / ui / parser / lex-bad-char-literals-2.stderr
index b0a4ed02434b4bd8ef19178b6bb8f415abdde788..5653d4ea672af668115e1b484cfa0b927f455683 100644 (file)
@@ -8,10 +8,5 @@ help: if you meant to write a `str` literal, use double quotes
 LL |     "nope"
    |     ^^^^^^
 
-error[E0601]: `main` function not found in crate `lex_bad_char_literals_2`
-   |
-   = note: consider adding a `main` function to `$DIR/lex-bad-char-literals-2.rs`
-
-error: aborting due to 2 previous errors
+error: aborting due to previous error
 
-For more information about this error, try `rustc --explain E0601`.