summaryrefslogtreecommitdiffstats
path: root/tests/ui/proc-macro/subspan.stderr
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:13 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:13 +0000
commit218caa410aa38c29984be31a5229b9fa717560ee (patch)
treec54bd55eeb6e4c508940a30e94c0032fbd45d677 /tests/ui/proc-macro/subspan.stderr
parentReleasing progress-linux version 1.67.1+dfsg1-1~progress7.99u1. (diff)
downloadrustc-218caa410aa38c29984be31a5229b9fa717560ee.tar.xz
rustc-218caa410aa38c29984be31a5229b9fa717560ee.zip
Merging upstream version 1.68.2+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/ui/proc-macro/subspan.stderr')
-rw-r--r--tests/ui/proc-macro/subspan.stderr106
1 files changed, 106 insertions, 0 deletions
diff --git a/tests/ui/proc-macro/subspan.stderr b/tests/ui/proc-macro/subspan.stderr
new file mode 100644
index 000000000..b5dacba0e
--- /dev/null
+++ b/tests/ui/proc-macro/subspan.stderr
@@ -0,0 +1,106 @@
+error: found 'hi's
+ --> $DIR/subspan.rs:11:1
+ |
+LL | subspan!("hi");
+ | ^^^^^^^^^^^^^^
+ |
+note: here
+ --> $DIR/subspan.rs:11:11
+ |
+LL | subspan!("hi");
+ | ^^
+ = note: this error originates in the macro `subspan` (in Nightly builds, run with -Z macro-backtrace for more info)
+
+error: found 'hi's
+ --> $DIR/subspan.rs:14:1
+ |
+LL | subspan!("hihi");
+ | ^^^^^^^^^^^^^^^^
+ |
+note: here
+ --> $DIR/subspan.rs:14:11
+ |
+LL | subspan!("hihi");
+ | ^^^^
+ = note: this error originates in the macro `subspan` (in Nightly builds, run with -Z macro-backtrace for more info)
+
+error: found 'hi's
+ --> $DIR/subspan.rs:17:1
+ |
+LL | subspan!("hihihi");
+ | ^^^^^^^^^^^^^^^^^^
+ |
+note: here
+ --> $DIR/subspan.rs:17:11
+ |
+LL | subspan!("hihihi");
+ | ^^^^^^
+ = note: this error originates in the macro `subspan` (in Nightly builds, run with -Z macro-backtrace for more info)
+
+error: found 'hi's
+ --> $DIR/subspan.rs:20:1
+ |
+LL | subspan!("why I hide? hi!");
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ |
+note: here
+ --> $DIR/subspan.rs:20:17
+ |
+LL | subspan!("why I hide? hi!");
+ | ^^ ^^
+ = note: this error originates in the macro `subspan` (in Nightly builds, run with -Z macro-backtrace for more info)
+
+error: found 'hi's
+ --> $DIR/subspan.rs:21:1
+ |
+LL | subspan!("hey, hi, hidy, hidy, hi hi");
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ |
+note: here
+ --> $DIR/subspan.rs:21:16
+ |
+LL | subspan!("hey, hi, hidy, hidy, hi hi");
+ | ^^ ^^ ^^ ^^ ^^
+ = note: this error originates in the macro `subspan` (in Nightly builds, run with -Z macro-backtrace for more info)
+
+error: found 'hi's
+ --> $DIR/subspan.rs:22:1
+ |
+LL | subspan!("this is a hi, and this is another hi");
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ |
+note: here
+ --> $DIR/subspan.rs:22:12
+ |
+LL | subspan!("this is a hi, and this is another hi");
+ | ^^ ^^ ^^ ^^
+ = note: this error originates in the macro `subspan` (in Nightly builds, run with -Z macro-backtrace for more info)
+
+error: found 'hi's
+ --> $DIR/subspan.rs:23:1
+ |
+LL | subspan!("how are you this evening");
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ |
+note: here
+ --> $DIR/subspan.rs:23:24
+ |
+LL | subspan!("how are you this evening");
+ | ^^
+ = note: this error originates in the macro `subspan` (in Nightly builds, run with -Z macro-backtrace for more info)
+
+error: found 'hi's
+ --> $DIR/subspan.rs:24:1
+ |
+LL | subspan!("this is highly eradic");
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ |
+note: here
+ --> $DIR/subspan.rs:24:12
+ |
+LL | subspan!("this is highly eradic");
+ | ^^ ^^
+ = note: this error originates in the macro `subspan` (in Nightly builds, run with -Z macro-backtrace for more info)
+
+error: aborting due to 8 previous errors
+