rust/compiler/rustc_mir_build
bors 91c0823ee6 Auto merge of #124636 - tbu-:pr_env_unsafe, r=petrochenkov
Make `std::env::{set_var, remove_var}` unsafe in edition 2024

Allow calling these functions without `unsafe` blocks in editions up until 2021, but don't trigger the `unused_unsafe` lint for `unsafe` blocks containing these functions.

Fixes #27970.
Fixes #90308.
CC #124866.
2024-05-30 12:17:06 +00:00
..
src Auto merge of #124636 - tbu-:pr_env_unsafe, r=petrochenkov 2024-05-30 12:17:06 +00:00
Cargo.toml Match ergonomics 2024: migration lint 2024-05-12 11:13:33 -04:00
messages.ftl Auto merge of #124636 - tbu-:pr_env_unsafe, r=petrochenkov 2024-05-30 12:17:06 +00:00