fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

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