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