diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:02:58 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:02:58 +0000 |
commit | 698f8c2f01ea549d77d7dc3338a12e04c11057b9 (patch) | |
tree | 173a775858bd501c378080a10dca74132f05bc50 /src/test/ui/proc-macro/three-equals.stderr | |
parent | Initial commit. (diff) | |
download | rustc-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/three-equals.stderr')
-rw-r--r-- | src/test/ui/proc-macro/three-equals.stderr | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/src/test/ui/proc-macro/three-equals.stderr b/src/test/ui/proc-macro/three-equals.stderr new file mode 100644 index 000000000..1ce5e02bd --- /dev/null +++ b/src/test/ui/proc-macro/three-equals.stderr @@ -0,0 +1,49 @@ +error: found 2 equal signs, need exactly 3 + --> $DIR/three-equals.rs:12:5 + | +LL | three_equals!(==); + | ^^^^^^^^^^^^^^^^^ + | + = help: input must be: `===` + = note: this error originates in the macro `three_equals` (in Nightly builds, run with -Z macro-backtrace for more info) + +error: expected EOF, found `=`. + --> $DIR/three-equals.rs:15:21 + | +LL | three_equals!(=====); + | ^^ + | +note: last good input was here + --> $DIR/three-equals.rs:15:21 + | +LL | three_equals!(=====); + | ^^ + = help: input must be: `===` + +error: expected `=`, found `abc`. + --> $DIR/three-equals.rs:18:19 + | +LL | three_equals!(abc); + | ^^^ + +error: expected `=`, found `!`. + --> $DIR/three-equals.rs:21:19 + | +LL | three_equals!(!!); + | ^ + +error: expected EOF, found `a`. + --> $DIR/three-equals.rs:24:22 + | +LL | three_equals!(===a); + | ^ + | +note: last good input was here + --> $DIR/three-equals.rs:24:21 + | +LL | three_equals!(===a); + | ^ + = help: input must be: `===` + +error: aborting due to 5 previous errors + |