rust/tests/ui/duplicate/dupe-symbols-7.stderr
2023-01-11 09:32:08 +00:00

11 lines
242 B
Plaintext

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