]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/issue-43106-gating-of-test.rs
parser will not give wrong help message for 'public'
[rust.git] / src / test / ui / feature-gates / issue-43106-gating-of-test.rs
1 // The non-crate level cases are in issue-43106-gating-of-builtin-attrs.rs.
2
3 #![allow(soft_unstable)]
4 #![test                    = "4200"]
5 //~^ ERROR cannot determine resolution for the attribute macro `test`
6 //~^^ ERROR `test` attribute cannot be used at crate level
7 fn main() {}