Skip to content

Commit 3b7a6c3

Browse files
Rollup merge of #125920 - bjorn3:allow_static_mut_linkage_def, r=Urgau
Allow static mut definitions with #[linkage] Unlike static declarations with #[linkage], for definitions rustc doesn't rewrite it to add an extra indirection. This was accidentally disallowed in rust-lang/rust#125046. cc rust-lang/rust#125800 (comment)
2 parents 50f504b + 03d1fb0 commit 3b7a6c3

File tree

0 file changed

+0
-0
lines changed

    0 file changed

    +0
    -0
    lines changed

    0 commit comments

    Comments
     (0)