Skip to content

Commit eb3b666

Browse files
Rollup merge of rust-lang#113158 - davidtwco:unset-rustc-log-color-in-test, r=wesleywiser
tests: unset `RUSTC_LOG_COLOR` in a test Setting `RUSTC_LOG_COLOR=always` is sometimes useful if tools that one pipes `RUSTC_LOG` into support coloured output, but it makes this test fail because it has a `.stderr` file with `WARN` log output.
2 parents b48f2b3 + 181d7b4 commit eb3b666

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/ui/consts/const_in_pattern/issue-73431.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// run-pass
2+
// unset-rustc-env:RUSTC_LOG_COLOR
23

34
// Regression test for https://github.com/rust-lang/rust/issues/73431.
45

0 commit comments

Comments
 (0)