Skip to content

Commit

Permalink
Rollup merge of #113158 - davidtwco:unset-rustc-log-color-in-test, r=…
Browse files Browse the repository at this point in the history
…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.
  • Loading branch information
matthiaskrgr committed Jul 8, 2023
2 parents 3e03a48 + 181d7b4 commit b70c553
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/ui/consts/const_in_pattern/issue-73431.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// run-pass
// unset-rustc-env:RUSTC_LOG_COLOR

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

Expand Down

0 comments on commit b70c553

Please sign in to comment.