]> git.lizzy.rs Git - rust.git/blob - src/test/ui/attributes/main-removed-1.stderr
Rollup merge of #93418 - ojeda:no-shortcut, r=camelid
[rust.git] / src / test / ui / attributes / main-removed-1.stderr
1 error: cannot find attribute `main` in this scope
2   --> $DIR/main-removed-1.rs:1:3
3    |
4 LL | #[main]
5    |   ^^^^
6    |
7    = note: `main` is in scope, but it is a function, not an attribute
8
9 error: aborting due to previous error
10