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

7 lines
124 B
Rust

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