1 error: ==-comparison of unit values detected. This will always be true
2 --> examples/unit_cmp.rs:16:8
4 16 | if { true; } == { false; } {
5 | ^^^^^^^^^^^^^^^^^^^^^^^
7 = note: `-D unit-cmp` implied by `-D warnings`
9 error: >-comparison of unit values detected. This will always be false
10 --> examples/unit_cmp.rs:19:8
12 19 | if { true; } > { false; } {
13 | ^^^^^^^^^^^^^^^^^^^^^^
15 = note: `-D unit-cmp` implied by `-D warnings`
17 error: aborting due to 2 previous errors
19 error: Could not compile `clippy_tests`.
21 To learn more, run the command again with --verbose.