mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 15:01:51 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
11 lines
243 B
Plaintext
11 lines
243 B
Plaintext
error: entry symbol `main` declared multiple times
|
|
--> $DIR/dupe-symbols-8.rs:7:1
|
|
|
|
|
LL | fn main() {
|
|
| ^^^^^^^^^
|
|
|
|
|
= help: did you use `#[no_mangle]` on `fn main`? Use `#[start]` instead
|
|
|
|
error: aborting due to 1 previous error
|
|
|