]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/issue-43106-gating-of-test.stderr
parser will not give wrong help message for 'public'
[rust.git] / src / test / ui / feature-gates / issue-43106-gating-of-test.stderr
1 error: cannot determine resolution for the attribute macro `test`
2   --> $DIR/issue-43106-gating-of-test.rs:4:4
3    |
4 LL | #![test                    = "4200"]
5    |    ^^^^
6    |
7    = note: import resolution is stuck, try simplifying macro imports
8
9 error: `test` attribute cannot be used at crate level
10   --> $DIR/issue-43106-gating-of-test.rs:4:1
11    |
12 LL | #![test                    = "4200"]
13    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14    |
15 help: perhaps you meant to use an outer attribute
16    |
17 LL | #[test                    = "4200"]
18    |
19
20 error: aborting due to 2 previous errors
21