about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/expr.rs
diff options
context:
space:
mode:
authorJacob Pratt <jacob@jhpratt.dev>2025-04-13 23:57:41 -0400
committerGitHub <noreply@github.com>2025-04-13 23:57:41 -0400
commit883c8dd52e87aa28f8a8808ec44049168334ef69 (patch)
treec371074e66daee119c58903a2f367fd7a19fce52 /compiler/rustc_parse/src/parser/expr.rs
parentbb93324c6bd1dadc5f82bf723f23c04e14acc023 (diff)
parent93bee0789a45ea7d5d65bb9301c4ad5ece3abeb2 (diff)
downloadrust-883c8dd52e87aa28f8a8808ec44049168334ef69.tar.gz
rust-883c8dd52e87aa28f8a8808ec44049168334ef69.zip
Rollup merge of #139760 - petrochenkov:noerrpat2, r=jieyouxu
UI tests: migrate remaining compile time `error-pattern`s to line annotations when possible

There's a number of cases in which `error-pattern` is still necessary even for compile time checking.
- It checks something that compiler writes directly into stderr as text, and not to the structured json output. This includes some stuff reported during compiler panics, and also diagnostics that happen very early, for example when parsing the command line.
- It checks something that exists only in the full rendered diagnostic test, but not in its structured components, for example code fragments or output of `-Ztrack-diagnostics`. (The latter can probably be converted to structured form though.)

This is continuation of https://github.com/rust-lang/rust/pull/139137.
r? `@jieyouxu`
Diffstat (limited to 'compiler/rustc_parse/src/parser/expr.rs')
0 files changed, 0 insertions, 0 deletions