1 error: use `assert_eq` for better reporting
2 --> should_assert_eq.rs:14:5
7 = note: `-D should-assert-eq` implied by `-D warnings`
8 = note: this error originates in a macro outside of the current crate
10 error: use `assert_eq` for better reporting
11 --> should_assert_eq.rs:15:5
13 15 | assert!(Debug(1) == Debug(2));
14 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
16 = note: `-D should-assert-eq` implied by `-D warnings`
17 = note: this error originates in a macro outside of the current crate
19 error: use `assert_ne` for better reporting
20 --> should_assert_eq.rs:17:5
22 17 | assert!(Debug(1) != Debug(2));
23 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
25 = note: `-D should-assert-eq` implied by `-D warnings`
26 = note: this error originates in a macro outside of the current crate
28 error: use `debug_assert_eq` for better reporting
29 --> should_assert_eq.rs:22:5
31 22 | debug_assert!(4 == 5);
32 | ^^^^^^^^^^^^^^^^^^^^^^
34 = note: `-D should-assert-eq` implied by `-D warnings`
35 = note: this error originates in a macro outside of the current crate
37 error: use `debug_assert_ne` for better reporting
38 --> should_assert_eq.rs:23:5
40 23 | debug_assert!(4 != 6);
41 | ^^^^^^^^^^^^^^^^^^^^^^
43 = note: `-D should-assert-eq` implied by `-D warnings`
44 = note: this error originates in a macro outside of the current crate
46 error: use `assert_eq` for better reporting
47 --> should_assert_eq.rs:27:5
52 = note: `-D should-assert-eq` implied by `-D warnings`
53 = note: this error originates in a macro outside of the current crate
55 error: use `assert_ne` for better reporting
56 --> should_assert_eq.rs:30:5
61 = note: `-D should-assert-eq` implied by `-D warnings`
62 = note: this error originates in a macro outside of the current crate
64 error: aborting due to previous error(s)
67 To learn more, run the command again with --verbose.