blob: 494fdcca327bb3fb45eaa5b5b6acbf976bd645eb [file] [log] [blame]
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 `#![no_main]` to suppress the usual Rust-generated entry point
error: aborting due to 1 previous error