summaryrefslogtreecommitdiffstats
path: root/src/test/ui/attributes/main-removed-1.stderr
blob: 2422c5c3b623946e7e43c92769c97218552138eb (plain)
1
2
3
4
5
6
7
8
9
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