]> git.lizzy.rs Git - rust.git/blob - tests/ui/issues/issue-45562.rs
Rollup merge of #106752 - sulami:master, r=estebank
[rust.git] / tests / ui / issues / issue-45562.rs
1 // run-rustfix
2
3 #[no_mangle] pub const RAH: usize = 5;
4 //~^ ERROR const items should never be `#[no_mangle]`
5
6 fn main() {}