summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/eq_op_macros.stderr
blob: cd9f1826e59bf292d5b00cbe4381d6c178d12a71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
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