about summary refs log tree commit diff
path: root/tests/ui/annotate-snippet/multispan.rs
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2025-05-02 17:56:07 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2025-05-04 18:27:45 +0300
commit56d6b4e427c271e8f069500f6fac4e209e946144 (patch)
tree9e553eb225c1befc357a9b73f014d6dd2086ea7e /tests/ui/annotate-snippet/multispan.rs
parent62c5f58f57670ce65e7fec34f8c4ba00c27da2d9 (diff)
downloadrust-56d6b4e427c271e8f069500f6fac4e209e946144.tar.gz
rust-56d6b4e427c271e8f069500f6fac4e209e946144.zip
compiletest: Support matching on non-json lines in compiler output
and migrate most of remaining `error-pattern`s to it.

Diffstat (limited to 'tests/ui/annotate-snippet/multispan.rs')
-rw-r--r--tests/ui/annotate-snippet/multispan.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/ui/annotate-snippet/multispan.rs b/tests/ui/annotate-snippet/multispan.rs
index b7cf22eebcb..c2054f62d24 100644
--- a/tests/ui/annotate-snippet/multispan.rs
+++ b/tests/ui/annotate-snippet/multispan.rs
@@ -1,5 +1,4 @@
 //@ proc-macro: multispan.rs
-//@ error-pattern:hello to you, too!
 //@ compile-flags: --error-format human-annotate-rs -Z unstable-options
 
 #![feature(proc_macro_hygiene)]
@@ -27,3 +26,5 @@ fn main() {
     hello!(whoah. hi di hi di ho);
     hello!(hi good hi and good bye);
 }
+
+//~? RAW hello to you, too!