]> git.lizzy.rs Git - rust.git/blob - clippy_tests/examples/unit_cmp.stderr
Fix the test suite after cargo update
[rust.git] / clippy_tests / examples / unit_cmp.stderr
1 error: ==-comparison of unit values detected. This will always be true
2   --> unit_cmp.rs:16:8
3    |
4 16 |     if { true; } == { false; } {
5    |        ^^^^^^^^^^^^^^^^^^^^^^^
6    |
7    = note: `-D unit-cmp` implied by `-D warnings`
8
9 error: >-comparison of unit values detected. This will always be false
10   --> unit_cmp.rs:19:8
11    |
12 19 |     if { true; } > { false; } {
13    |        ^^^^^^^^^^^^^^^^^^^^^^
14    |
15    = note: `-D unit-cmp` implied by `-D warnings`
16
17 error: aborting due to previous error(s)
18
19
20 To learn more, run the command again with --verbose.