summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/eq_op_macros.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/tools/clippy/tests/ui/eq_op_macros.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/tools/clippy/tests/ui/eq_op_macros.stderr')
-rw-r--r--src/tools/clippy/tests/ui/eq_op_macros.stderr95
1 files changed, 95 insertions, 0 deletions
diff --git a/src/tools/clippy/tests/ui/eq_op_macros.stderr b/src/tools/clippy/tests/ui/eq_op_macros.stderr
new file mode 100644
index 000000000..cd9f1826e
--- /dev/null
+++ b/src/tools/clippy/tests/ui/eq_op_macros.stderr
@@ -0,0 +1,95 @@
+error: identical args used in this `assert_eq!` macro call
+ --> $DIR/eq_op_macros.rs:7:20
+ |
+LL | assert_eq!(a, a);
+ | ^^^^
+...
+LL | assert_in_macro_def!();
+ | ---------------------- in this macro invocation
+ |
+ = note: `-D clippy::eq-op` implied by `-D warnings`
+ = note: this error originates in the macro `assert_in_macro_def` (in Nightly builds, run with -Z macro-backtrace for more info)
+
+error: identical args used in this `assert_ne!` macro call
+ --> $DIR/eq_op_macros.rs:8:20
+ |
+LL | assert_ne!(a, a);
+ | ^^^^
+...
+LL | assert_in_macro_def!();
+ | ---------------------- in this macro invocation
+ |
+ = note: this error originates in the macro `assert_in_macro_def` (in Nightly builds, run with -Z macro-backtrace for more info)
+
+error: identical args used in this `debug_assert_eq!` macro call
+ --> $DIR/eq_op_macros.rs:9:26
+ |
+LL | debug_assert_eq!(a, a);
+ | ^^^^
+...
+LL | assert_in_macro_def!();
+ | ---------------------- in this macro invocation
+ |
+ = note: this error originates in the macro `assert_in_macro_def` (in Nightly builds, run with -Z macro-backtrace for more info)
+
+error: identical args used in this `debug_assert_ne!` macro call
+ --> $DIR/eq_op_macros.rs:10:26
+ |
+LL | debug_assert_ne!(a, a);
+ | ^^^^
+...
+LL | assert_in_macro_def!();
+ | ---------------------- in this macro invocation
+ |
+ = note: this error originates in the macro `assert_in_macro_def` (in Nightly builds, run with -Z macro-backtrace for more info)
+
+error: identical args used in this `assert_eq!` macro call
+ --> $DIR/eq_op_macros.rs:22:16
+ |
+LL | assert_eq!(a, a);
+ | ^^^^
+
+error: identical args used in this `assert_eq!` macro call
+ --> $DIR/eq_op_macros.rs:23:16
+ |
+LL | assert_eq!(a + 1, a + 1);
+ | ^^^^^^^^^^^^
+
+error: identical args used in this `assert_ne!` macro call
+ --> $DIR/eq_op_macros.rs:30:16
+ |
+LL | assert_ne!(a, a);
+ | ^^^^
+
+error: identical args used in this `assert_ne!` macro call
+ --> $DIR/eq_op_macros.rs:31:16
+ |
+LL | assert_ne!(a + 1, a + 1);
+ | ^^^^^^^^^^^^
+
+error: identical args used in this `debug_assert_eq!` macro call
+ --> $DIR/eq_op_macros.rs:38:22
+ |
+LL | debug_assert_eq!(a, a);
+ | ^^^^
+
+error: identical args used in this `debug_assert_eq!` macro call
+ --> $DIR/eq_op_macros.rs:39:22
+ |
+LL | debug_assert_eq!(a + 1, a + 1);
+ | ^^^^^^^^^^^^
+
+error: identical args used in this `debug_assert_ne!` macro call
+ --> $DIR/eq_op_macros.rs:46:22
+ |
+LL | debug_assert_ne!(a, a);
+ | ^^^^
+
+error: identical args used in this `debug_assert_ne!` macro call
+ --> $DIR/eq_op_macros.rs:47:22
+ |
+LL | debug_assert_ne!(a + 1, a + 1);
+ | ^^^^^^^^^^^^
+
+error: aborting due to 12 previous errors
+