summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-45562.rs
blob: eabb5a5cecf81208295c38766bcc18b1138db9b2 (plain)
1
2
3
4
5
6
// run-rustfix

#[no_mangle] pub const RAH: usize = 5;
//~^ ERROR const items should never be `#[no_mangle]`

fn main() {}