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

6 lines
123 B
Rust

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