Skip to content

Commit b70c553

Browse files
authored
Rollup merge of #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 3e03a48 + 181d7b4 commit b70c553

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)