1
Fork 0

compiletest: Support matching diagnostics on lines below

This commit is contained in:
Vadim Petrochenkov 2025-03-29 12:52:10 +03:00
parent 928468c47c
commit cf451f0830
31 changed files with 62 additions and 48 deletions

View file

@ -1,8 +1,10 @@
// ignore-tidy-trailing-newlines
//@ error-pattern: aborting due to 3 previous errors
fn main() {}
//~vvv ERROR mismatched closing delimiter: `)`
//~vv ERROR mismatched closing delimiter: `)`
//~vvv ERROR this file contains an unclosed delimiter
fn p() { match s { v, E { [) {) }