summaryrefslogtreecommitdiffstats
path: root/src/test/ui/proc-macro/subspan.stderr
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:02:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:02:58 +0000
commit698f8c2f01ea549d77d7dc3338a12e04c11057b9 (patch)
tree173a775858bd501c378080a10dca74132f05bc50 /src/test/ui/proc-macro/subspan.stderr
parentInitial commit. (diff)
downloadrustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.tar.xz
rustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.zip
Adding upstream version 1.64.0+dfsg1.upstream/1.64.0+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test/ui/proc-macro/subspan.stderr')
-rw-r--r--src/test/ui/proc-macro/subspan.stderr106
1 files changed, 106 insertions, 0 deletions
diff --git a/src/test/ui/proc-macro/subspan.stderr b/src/test/ui/proc-macro/subspan.stderr
new file mode 100644
index 000000000..b5dacba0e
--- /dev/null
+++ b/src/test/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
+