rust/tests/ui/feature-gates/feature-gate-used_with_arg.rs
2023-01-11 09:32:08 +00:00

8 lines
237 B
Rust

#[used(linker)] //~ ERROR `#[used(linker)]` is currently unstable
static mut USED_LINKER: [usize; 1] = [0];
#[used(compiler)] //~ ERROR `#[used(compiler)]` is currently unstable
static mut USED_COMPILER: [usize; 1] = [0];
fn main() {}