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.
This commit is contained in:
Matthias Krüger 2023-07-08 15:49:45 +02:00 committed by GitHub
commit b70c5538b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,5 @@
// run-pass // run-pass
// unset-rustc-env:RUSTC_LOG_COLOR
// Regression test for https://github.com/rust-lang/rust/issues/73431. // Regression test for https://github.com/rust-lang/rust/issues/73431.