about summary refs log tree commit diff
path: root/tests/ui/duplicate/dupe-symbols-7.stderr
blob: d75038569397f11c06310fdd6c8cf8e6d9427aad (plain)
1
2
3
4
5
6
7
8
9
10
error: entry symbol `main` declared multiple times
  --> $DIR/dupe-symbols-7.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