about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-07-12 03:43:35 +0200
committerGitHub <noreply@github.com>2024-07-12 03:43:35 +0200
commitfe564c10ab5ef9d3fa1b1570c553e16667f1f904 (patch)
treef3bc39be7c81c06d1f267a2ccb5bb31c1b076f6e /compiler/rustc_pattern_analysis/src
parent83d1a1b2521fa89ce56a340dfc59494016c9ac8c (diff)
parent08a2992d6bed7be4e673989965949b610c46e7e8 (diff)
downloadrust-fe564c10ab5ef9d3fa1b1570c553e16667f1f904.tar.gz
rust-fe564c10ab5ef9d3fa1b1570c553e16667f1f904.zip
Rollup merge of #127607 - Zalathar:normalize-hint, r=wesleywiser
compiletest: Better error message for bad `normalize-*` headers

Follow-up to #126777.

Example of the new error message in context:
```text
---- [ui] tests/ui/rfcs/rfc-2632-const-trait-impl/effects/minicore.rs stdout ----
thread '[ui] tests/ui/rfcs/rfc-2632-const-trait-impl/effects/minicore.rs' panicked at src/tools/compiletest/src/header.rs:1001:13:
couldn't parse custom normalization rule: `normalize-stderr-test ".*note: .*\n\n" -> ""`
help: expected syntax is: `normalize-stderr-test: "REGEX" -> "REPLACEMENT"`
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
```
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions