rust/tests/ui/issues/issue-45562.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
123 B
Rust
Raw Normal View History

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