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:03 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:03 +0000
commit64d98f8ee037282c35007b64c2649055c56af1db (patch)
tree5492bcf97fce41ee1c0b1cc2add283f3e66cdab0 /tests/ui/proc-macro/subspan.stderr
parentAdding debian version 1.67.1+dfsg1-1. (diff)
downloadrustc-64d98f8ee037282c35007b64c2649055c56af1db.tar.xz
rustc-64d98f8ee037282c35007b64c2649055c56af1db.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
+