rust/compiler
bors b06e8ad970 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.
2024-07-19 05:26:24 +00:00
..
2024-06-06 20:54:51 -05:00
2024-06-06 20:27:25 -05:00
2024-06-10 14:50:54 +02:00
2024-06-06 20:26:27 -05:00
2024-06-05 22:25:42 +01:00