]> git.lizzy.rs Git - rust.git/blob - clippy_tests/examples/should_assert_eq.stderr
Fix the test suite after cargo update
[rust.git] / clippy_tests / examples / should_assert_eq.stderr
1 error: use `assert_eq` for better reporting
2   --> should_assert_eq.rs:14:5
3    |
4 14 |     assert!(1 == 2);
5    |     ^^^^^^^^^^^^^^^^
6    |
7    = note: `-D should-assert-eq` implied by `-D warnings`
8    = note: this error originates in a macro outside of the current crate
9
10 error: use `assert_eq` for better reporting
11   --> should_assert_eq.rs:15:5
12    |
13 15 |     assert!(Debug(1) == Debug(2));
14    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
15    |
16    = note: `-D should-assert-eq` implied by `-D warnings`
17    = note: this error originates in a macro outside of the current crate
18
19 error: use `assert_ne` for better reporting
20   --> should_assert_eq.rs:17:5
21    |
22 17 |     assert!(Debug(1) != Debug(2));
23    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
24    |
25    = note: `-D should-assert-eq` implied by `-D warnings`
26    = note: this error originates in a macro outside of the current crate
27
28 error: use `debug_assert_eq` for better reporting
29   --> should_assert_eq.rs:22:5
30    |
31 22 |     debug_assert!(4 == 5);
32    |     ^^^^^^^^^^^^^^^^^^^^^^
33    |
34    = note: `-D should-assert-eq` implied by `-D warnings`
35    = note: this error originates in a macro outside of the current crate
36
37 error: use `debug_assert_ne` for better reporting
38   --> should_assert_eq.rs:23:5
39    |
40 23 |     debug_assert!(4 != 6);
41    |     ^^^^^^^^^^^^^^^^^^^^^^
42    |
43    = note: `-D should-assert-eq` implied by `-D warnings`
44    = note: this error originates in a macro outside of the current crate
45
46 error: use `assert_eq` for better reporting
47   --> should_assert_eq.rs:27:5
48    |
49 27 |     assert!(x == y);
50    |     ^^^^^^^^^^^^^^^^
51    |
52    = note: `-D should-assert-eq` implied by `-D warnings`
53    = note: this error originates in a macro outside of the current crate
54
55 error: use `assert_ne` for better reporting
56   --> should_assert_eq.rs:30:5
57    |
58 30 |     assert!(x != y);
59    |     ^^^^^^^^^^^^^^^^
60    |
61    = note: `-D should-assert-eq` implied by `-D warnings`
62    = note: this error originates in a macro outside of the current crate
63
64 error: aborting due to previous error(s)
65
66
67 To learn more, run the command again with --verbose.