diff options
| author | bors <bors@rust-lang.org> | 2024-07-19 05:26:24 +0000 | 
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-07-19 05:26:24 +0000 | 
| commit | b06e8ad97074a624afaebea9117aef79f4f95ca1 (patch) | |
| tree | fabb3adef40dd2be585197f3bd28c5c49b990f59 /compiler/rustc_mir_transform/src/jump_threading.rs | |
| parent | 3ad5ec81fdfbfefda2b594da618e6d4f25e66792 (diff) | |
| parent | 42c2364325d18b14b977ab1997e8911cb9e4d1fa (diff) | |
| download | rust-b06e8ad97074a624afaebea9117aef79f4f95ca1.tar.gz rust-b06e8ad97074a624afaebea9117aef79f4f95ca1.zip  | |
Auto merge of #127944 - compiler-errors:beta-no-unsafe, r=Mark-Simulacrum
Don't allow unsafe statics outside of extern blocks (beta version) This PR fixes a regression where we allowed `unsafe static` items in top-level modules (i.e. outside of `unsafe extern` blocks). #127943 does not rebase cleanly, so I've prepared an extremely pared down version of this PR for beta purposes.
Diffstat (limited to 'compiler/rustc_mir_transform/src/jump_threading.rs')
0 files changed, 0 insertions, 0 deletions
