about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/errors.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-05-04 19:54:31 +0000
committerbors <bors@rust-lang.org>2025-05-04 19:54:31 +0000
commit13e87909494f2f31bce51bc106e2b629420d1235 (patch)
tree511e8146ee5e58c9141ed2da6306a2f2478d8c88 /compiler/rustc_interface/src/errors.rs
parentab62d56603293e9264b4d811d2d6f5b49a3264f9 (diff)
parent56d6b4e427c271e8f069500f6fac4e209e946144 (diff)
downloadrust-13e87909494f2f31bce51bc106e2b629420d1235.tar.gz
rust-13e87909494f2f31bce51bc106e2b629420d1235.zip
Auto merge of #140599 - petrochenkov:rawerann, r=jieyouxu
compiletest: Support matching on non-json lines in compiler output

and migrate most of remaining `error-pattern`s to it.
Such diagnostics use a new diagnostic kind `RAW`.

Also emit an error for `error-pattern`s that can be replaced with line annotations.
Also remove a number of conditions to check both line annotations and `error-pattern`s in more cases.
Also respect `//@ check-stdout` when collecting "actual errors" for comparing against line annotations.
(A couple of tiny refactorings is also included.)

Continuation of https://github.com/rust-lang/rust/pull/139760.

r? `@jieyouxu`
Diffstat (limited to 'compiler/rustc_interface/src/errors.rs')
0 files changed, 0 insertions, 0 deletions