diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-07-08 15:49:45 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-08 15:49:45 +0200 |
| commit | b70c5538b6ceaa60a2fad44d1753f101b71e5584 (patch) | |
| tree | 1375b116c312dbb66ba398a57baacca9b9d4c7ae | |
| parent | 3e03a48c18c4465380dca49a41add1609c09d2d8 (diff) | |
| parent | 181d7b463ba690741075edd04d5cf74e037b8e23 (diff) | |
| download | rust-b70c5538b6ceaa60a2fad44d1753f101b71e5584.tar.gz rust-b70c5538b6ceaa60a2fad44d1753f101b71e5584.zip | |
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.
| -rw-r--r-- | tests/ui/consts/const_in_pattern/issue-73431.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/consts/const_in_pattern/issue-73431.rs b/tests/ui/consts/const_in_pattern/issue-73431.rs index fa18a3af1b0..835f502b407 100644 --- a/tests/ui/consts/const_in_pattern/issue-73431.rs +++ b/tests/ui/consts/const_in_pattern/issue-73431.rs @@ -1,4 +1,5 @@ // run-pass +// unset-rustc-env:RUSTC_LOG_COLOR // Regression test for https://github.com/rust-lang/rust/issues/73431. |
