2020-10-23 15:16:59 -05:00
|
|
|
error: identical args used in this `assert_eq!` macro call
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/eq_op_macros.rs:8:20
|
2020-10-23 15:16:59 -05:00
|
|
|
|
|
|
|
|
LL | assert_eq!(a, a);
|
|
|
|
| ^^^^
|
|
|
|
...
|
|
|
|
LL | assert_in_macro_def!();
|
2021-10-14 13:28:30 -05:00
|
|
|
| ---------------------- in this macro invocation
|
2020-10-23 15:16:59 -05:00
|
|
|
|
|
|
|
|
= note: `-D clippy::eq-op` implied by `-D warnings`
|
2023-08-01 07:02:21 -05:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::eq_op)]`
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the macro `assert_in_macro_def` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2020-10-23 15:16:59 -05:00
|
|
|
|
|
|
|
error: identical args used in this `assert_ne!` macro call
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/eq_op_macros.rs:9:20
|
2020-10-23 15:16:59 -05:00
|
|
|
|
|
|
|
|
LL | assert_ne!(a, a);
|
|
|
|
| ^^^^
|
|
|
|
...
|
|
|
|
LL | assert_in_macro_def!();
|
2021-10-14 13:28:30 -05:00
|
|
|
| ---------------------- in this macro invocation
|
2020-10-23 15:16:59 -05:00
|
|
|
|
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the macro `assert_in_macro_def` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2020-10-23 15:16:59 -05:00
|
|
|
|
2022-01-13 06:18:19 -06:00
|
|
|
error: identical args used in this `debug_assert_eq!` macro call
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/eq_op_macros.rs:10:26
|
2022-01-13 06:18:19 -06:00
|
|
|
|
|
|
|
|
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
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/eq_op_macros.rs:11:26
|
2022-01-13 06:18:19 -06:00
|
|
|
|
|
|
|
|
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)
|
|
|
|
|
2020-10-23 15:16:59 -05:00
|
|
|
error: identical args used in this `assert_eq!` macro call
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/eq_op_macros.rs:23:16
|
2020-10-23 15:16:59 -05:00
|
|
|
|
|
|
|
|
LL | assert_eq!(a, a);
|
|
|
|
| ^^^^
|
|
|
|
|
|
|
|
error: identical args used in this `assert_eq!` macro call
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/eq_op_macros.rs:25:16
|
2020-10-23 15:16:59 -05:00
|
|
|
|
|
|
|
|
LL | assert_eq!(a + 1, a + 1);
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: identical args used in this `assert_ne!` macro call
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/eq_op_macros.rs:33:16
|
2020-10-23 15:16:59 -05:00
|
|
|
|
|
|
|
|
LL | assert_ne!(a, a);
|
|
|
|
| ^^^^
|
|
|
|
|
|
|
|
error: identical args used in this `assert_ne!` macro call
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/eq_op_macros.rs:35:16
|
2020-10-23 15:16:59 -05:00
|
|
|
|
|
|
|
|
LL | assert_ne!(a + 1, a + 1);
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: identical args used in this `debug_assert_eq!` macro call
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/eq_op_macros.rs:43:22
|
2020-10-23 15:16:59 -05:00
|
|
|
|
|
|
|
|
LL | debug_assert_eq!(a, a);
|
|
|
|
| ^^^^
|
|
|
|
|
|
|
|
error: identical args used in this `debug_assert_eq!` macro call
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/eq_op_macros.rs:45:22
|
2020-10-23 15:16:59 -05:00
|
|
|
|
|
|
|
|
LL | debug_assert_eq!(a + 1, a + 1);
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: identical args used in this `debug_assert_ne!` macro call
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/eq_op_macros.rs:53:22
|
2020-10-23 15:16:59 -05:00
|
|
|
|
|
|
|
|
LL | debug_assert_ne!(a, a);
|
|
|
|
| ^^^^
|
|
|
|
|
|
|
|
error: identical args used in this `debug_assert_ne!` macro call
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/eq_op_macros.rs:55:22
|
2020-10-23 15:16:59 -05:00
|
|
|
|
|
|
|
|
LL | debug_assert_ne!(a + 1, a + 1);
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to 12 previous errors
|
|
|
|
|