diff options
Diffstat (limited to 'tests/ui/attributes/main-removed-1.stderr')
-rw-r--r-- | tests/ui/attributes/main-removed-1.stderr | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/ui/attributes/main-removed-1.stderr b/tests/ui/attributes/main-removed-1.stderr new file mode 100644 index 000000000..2422c5c3b --- /dev/null +++ b/tests/ui/attributes/main-removed-1.stderr @@ -0,0 +1,10 @@ +error: cannot find attribute `main` in this scope + --> $DIR/main-removed-1.rs:1:3 + | +LL | #[main] + | ^^^^ + | + = note: `main` is in scope, but it is a function, not an attribute + +error: aborting due to previous error + |