We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8615595 + 6ca6be6 commit 42d3370Copy full SHA for 42d3370
tests/compile-test.rs
@@ -115,7 +115,9 @@ fn base_config(test_dir: &str) -> compiletest::Config {
115
mode: TestMode::Yolo,
116
stderr_filters: vec![],
117
stdout_filters: vec![],
118
- output_conflict_handling: if var_os("BLESS").is_some() || env::args().any(|arg| arg == "--bless") {
+ // FIXME(tgross35): deduplicate bless env once clippy can update
119
+ output_conflict_handling: if var_os("RUSTC_BLESS").is_some_and(|v| v != "0")
120
+ || env::args().any(|arg| arg == "--bless") {
121
compiletest::OutputConflictHandling::Bless
122
} else {
123
compiletest::OutputConflictHandling::Error("cargo test -- -- --bless".into())
0 commit comments