summaryrefslogtreecommitdiffstats
path: root/tests/ui/duplicate/dupe-symbols-7.stderr
blob: 1455f0e75abb7d31250217b2d29fefe941db1de3 (plain)
1
2
3
4
5
6
7
8
9
10
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