]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/eq_op_macros.stderr
Rollup merge of #78666 - sasurau4:fix/shellcheck-error, r=jyn514
[rust.git] / src / tools / clippy / tests / ui / eq_op_macros.stderr
1 error: identical args used in this `assert_eq!` macro call
2   --> $DIR/eq_op_macros.rs:7:20
3    |
4 LL |         assert_eq!(a, a);
5    |                    ^^^^
6 ...
7 LL |     assert_in_macro_def!();
8    |     ----------------------- in this macro invocation
9    |
10    = note: `-D clippy::eq-op` implied by `-D warnings`
11    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
12
13 error: identical args used in this `assert_ne!` macro call
14   --> $DIR/eq_op_macros.rs:8:20
15    |
16 LL |         assert_ne!(a, a);
17    |                    ^^^^
18 ...
19 LL |     assert_in_macro_def!();
20    |     ----------------------- in this macro invocation
21    |
22    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
23
24 error: identical args used in this `assert_eq!` macro call
25   --> $DIR/eq_op_macros.rs:22:16
26    |
27 LL |     assert_eq!(a, a);
28    |                ^^^^
29
30 error: identical args used in this `assert_eq!` macro call
31   --> $DIR/eq_op_macros.rs:23:16
32    |
33 LL |     assert_eq!(a + 1, a + 1);
34    |                ^^^^^^^^^^^^
35
36 error: identical args used in this `assert_ne!` macro call
37   --> $DIR/eq_op_macros.rs:30:16
38    |
39 LL |     assert_ne!(a, a);
40    |                ^^^^
41
42 error: identical args used in this `assert_ne!` macro call
43   --> $DIR/eq_op_macros.rs:31:16
44    |
45 LL |     assert_ne!(a + 1, a + 1);
46    |                ^^^^^^^^^^^^
47
48 error: identical args used in this `debug_assert_eq!` macro call
49   --> $DIR/eq_op_macros.rs:9:26
50    |
51 LL |         debug_assert_eq!(a, a);
52    |                          ^^^^
53 ...
54 LL |     assert_in_macro_def!();
55    |     ----------------------- in this macro invocation
56    |
57    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
58
59 error: identical args used in this `debug_assert_ne!` macro call
60   --> $DIR/eq_op_macros.rs:10:26
61    |
62 LL |         debug_assert_ne!(a, a);
63    |                          ^^^^
64 ...
65 LL |     assert_in_macro_def!();
66    |     ----------------------- in this macro invocation
67    |
68    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
69
70 error: identical args used in this `debug_assert_eq!` macro call
71   --> $DIR/eq_op_macros.rs:38:22
72    |
73 LL |     debug_assert_eq!(a, a);
74    |                      ^^^^
75
76 error: identical args used in this `debug_assert_eq!` macro call
77   --> $DIR/eq_op_macros.rs:39:22
78    |
79 LL |     debug_assert_eq!(a + 1, a + 1);
80    |                      ^^^^^^^^^^^^
81
82 error: identical args used in this `debug_assert_ne!` macro call
83   --> $DIR/eq_op_macros.rs:46:22
84    |
85 LL |     debug_assert_ne!(a, a);
86    |                      ^^^^
87
88 error: identical args used in this `debug_assert_ne!` macro call
89   --> $DIR/eq_op_macros.rs:47:22
90    |
91 LL |     debug_assert_ne!(a + 1, a + 1);
92    |                      ^^^^^^^^^^^^
93
94 error: aborting due to 12 previous errors
95