diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/duplicate/dupe-symbols-8.stderr | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/test/ui/duplicate/dupe-symbols-8.stderr b/src/test/ui/duplicate/dupe-symbols-8.stderr new file mode 100644 index 000000000..8d6a79e12 --- /dev/null +++ b/src/test/ui/duplicate/dupe-symbols-8.stderr @@ -0,0 +1,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 + |