rust/tests/ui/issues/issue-45562.fixed
2024-02-16 20:02:50 +00:00

7 lines
125 B
Rust

//@ run-rustfix
#[no_mangle] pub static RAH: usize = 5;
//~^ ERROR const items should never be `#[no_mangle]`
fn main() {}