rust/tests/ui/attributes/main-removed-1.stderr

11 lines
230 B
Plaintext
Raw Normal View History

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 1 previous error