about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src/errors.rs
diff options
context:
space:
mode:
authorJubilee <46493976+workingjubilee@users.noreply.github.com>2024-06-05 01:14:32 -0700
committerGitHub <noreply@github.com>2024-06-05 01:14:32 -0700
commit2b89c1b9aeccf748c56bb64584cb70c184edbafa (patch)
treecd09041375f7e6341d57f4deb0b36056126e5175 /compiler/rustc_pattern_analysis/src/errors.rs
parent78d9a7e10777317aee44a5154b4c45e5ea55c2a3 (diff)
parent07dc3ebf5c82f1f1420f37d68204600b87522383 (diff)
downloadrust-2b89c1b9aeccf748c56bb64584cb70c184edbafa.tar.gz
rust-2b89c1b9aeccf748c56bb64584cb70c184edbafa.zip
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 https://github.com/rust-lang/rust/pull/125046.

cc https://github.com/rust-lang/rust/pull/125800#issuecomment-2143776298
Diffstat (limited to 'compiler/rustc_pattern_analysis/src/errors.rs')
0 files changed, 0 insertions, 0 deletions