rust/src/test/ui/duplicate/dupe-symbols-7.stderr

11 lines
243 B
Plaintext
Raw Normal View History

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