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

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

7 lines
124 B
Rust
Raw Normal View History

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