]>
git.proxmox.com Git - rustc.git/blob - tests/ui/used.rs
2 static FOO
: u32 = 0; // OK
4 #[used] //~ ERROR attribute must be applied to a `static` variable
7 #[used] //~ ERROR attribute must be applied to a `static` variable
10 #[used] //~ ERROR attribute must be applied to a `static` variable
13 #[used] //~ ERROR attribute must be applied to a `static` variable