rust/tests/ui/duplicate/dupe-symbols-7.stderr
Nilstrieb 41e8d152dc Show number in error message even for one error
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-24 19:15:52 +01:00

11 lines
243 B
Plaintext

error: entry symbol `main` declared multiple times
--> $DIR/dupe-symbols-7.rs:9:1
|
LL | fn main(){}
| ^^^^^^^^^
|
= help: did you use `#[no_mangle]` on `fn main`? Use `#[start]` instead
error: aborting due to 1 previous error