rust/tests/ui/issues/issue-45562.fixed
2023-01-11 09:32:08 +00:00

7 lines
124 B
Rust

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