Skip to content

Commit

Permalink
Rollup merge of rust-lang#113158 - davidtwco:unset-rustc-log-color-in…
Browse files Browse the repository at this point in the history
…-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.
  • Loading branch information
compiler-errors authored Jul 8, 2023
2 parents b48f2b3 + 181d7b4 commit eb3b666
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 eb3b666

Please sign in to comment.