diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-03-29 21:08:13 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-29 21:08:13 +0100 |
| commit | a584cc7c7083dd92c0b4364ed6bed03251694a5b (patch) | |
| tree | 1cc1db66ce09e514cc178aa5dc1bb40ab5374e92 /tests/coverage/branch/while.rs | |
| parent | 821e0fe0a2f22a81b4df63b0dcb7de989b10b5dc (diff) | |
| parent | cf451f08307168f32ffc74b478026e5e3ebc5ca9 (diff) | |
| download | rust-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
