about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2021-10-09 11:55:59 +0200
committerGitHub <noreply@github.com>2021-10-09 11:55:59 +0200
commit9d14b6505b3cbe47826c8f4d62f67f0e5e474750 (patch)
treedb056a2cf026bfa31ed01a2cd10cb21a6fc03bea /src/test
parent03a34a291d80b0f2e80e0f74c4fc41c68c7abe6c (diff)
parent84fc5db59b3a291090fe0cc9d1b91f463664d657 (diff)
downloadrust-9d14b6505b3cbe47826c8f4d62f67f0e5e474750.tar.gz
rust-9d14b6505b3cbe47826c8f4d62f67f0e5e474750.zip
Rollup merge of #89634 - hawkw:eliza/enable-err-warn, r=oli-obk
rustc_driver: Enable the `WARN` log level by default

This commit changes the `tracing_subscriber` initialization in
`rustc_driver` so that the `WARN` verbosity level is enabled by default
when the `RUSTC_LOG` env variable is empty. If the `RUSTC_LOG` env
variable is set, the filter string in the environment variable is
honored, instead.

Fixes #76824
Closes #89623

cc ``@eddyb,`` ``@oli-obk``
Diffstat (limited to 'src/test')
-rw-r--r--src/test/ui/consts/const_in_pattern/issue-73431.stderr1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/ui/consts/const_in_pattern/issue-73431.stderr b/src/test/ui/consts/const_in_pattern/issue-73431.stderr
new file mode 100644
index 00000000000..c82dea4aa50
--- /dev/null
+++ b/src/test/ui/consts/const_in_pattern/issue-73431.stderr
@@ -0,0 +1 @@
+WARN rustc_mir_build::thir::pattern::const_to_pat MIR const-checker found novel structural match violation. See #73448.