]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-used_with_arg.rs
parser will not give wrong help message for 'public'
[rust.git] / src / test / ui / feature-gates / feature-gate-used_with_arg.rs
1 #[used(linker)] //~ ERROR `#[used(linker)]` is currently unstable
2 static mut USED_LINKER: [usize; 1] = [0];
3
4 #[used(compiler)] //~ ERROR `#[used(compiler)]` is currently unstable
5 static mut USED_COMPILER: [usize; 1] = [0];
6
7 fn main() {}