about summary refs log tree commit diff
path: root/compiler/rustc_feature/src/tests.rs
AgeCommit message (Collapse)AuthorLines
2025-01-08rustc_feature: Avoid unsafe `std::env::set_var()` in `UnstableFeatures` testsMartin Nordholts-6/+10
Avoid unsafe `std::env::set_var()` by allowing tests to inject `std::env::var("RUSTC_BOOTSTRAP")` with a `env_var_rustc_bootstrap` parameter.
2024-11-17Add `RUSTC_BOOTSTRAP=-1` to make rustc pretend as stable compilerJieyou Xu-1/+11
2020-12-12tidy: Re-enable check for inline unit testsVadim Petrochenkov-0/+23