rust/tests/ui/attributes/used_with_multi_args.rs
Jonathan Brouwer 9e35684072
Port #[used] to new attribute parsing infrastructure
Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com>
2025-06-27 08:58:26 +02:00

7 lines
162 B
Rust

#![feature(used_with_arg)]
#[used(compiler, linker)] //~ ERROR malformed `used` attribute input
static mut USED_COMPILER_LINKER: [usize; 1] = [0];
fn main() {}