about summary refs log tree commit diff
path: root/tests/coverage/branch/while.rs
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-03-29 21:08:13 +0100
committerGitHub <noreply@github.com>2025-03-29 21:08:13 +0100
commita584cc7c7083dd92c0b4364ed6bed03251694a5b (patch)
tree1cc1db66ce09e514cc178aa5dc1bb40ab5374e92 /tests/coverage/branch/while.rs
parent821e0fe0a2f22a81b4df63b0dcb7de989b10b5dc (diff)
parentcf451f08307168f32ffc74b478026e5e3ebc5ca9 (diff)
downloadrust-a584cc7c7083dd92c0b4364ed6bed03251694a5b.tar.gz
rust-a584cc7c7083dd92c0b4364ed6bed03251694a5b.zip
Rollup merge of #139100 - petrochenkov:errbelow, r=jieyouxu
compiletest: Support matching diagnostics on lines below

Using `//~vvv ERROR`.

This is not needed often, but it's easy to support, and it allows to eliminate a class of `error-pattern`s that cannot be eliminated in any other way.

See the diff for the examples of such patterns coming from parser.
Some of them can be matched by `//~ ERROR` or `//~^ ERROR` as well (when the final newline is allowed), but it changes the shape of reported spans, so I chose to keep the spans by using `//~v ERROR`.
Diffstat (limited to 'tests/coverage/branch/while.rs')
0 files changed, 0 insertions, 0 deletions