2017-02-07 20:05:30 +00:00
|
|
|
error: ==-comparison of unit values detected. This will always be true
|
2017-05-17 12:19:44 +00:00
|
|
|
--> examples/unit_cmp.rs:16:8
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-02-08 13:58:07 +00:00
|
|
|
16 | if { true; } == { false; } {
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2017-05-17 12:19:44 +00:00
|
|
|
= note: `-D unit-cmp` implied by `-D warnings`
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: >-comparison of unit values detected. This will always be false
|
2017-05-17 12:19:44 +00:00
|
|
|
--> examples/unit_cmp.rs:19:8
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-02-08 13:58:07 +00:00
|
|
|
19 | if { true; } > { false; } {
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
2017-05-17 12:19:44 +00:00
|
|
|
|
|
|
|
|
= note: `-D unit-cmp` implied by `-D warnings`
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
2017-05-17 12:19:44 +00:00
|
|
|
error: Could not compile `clippy_tests`.
|
|
|
|
|
|
|
|
To learn more, run the command again with --verbose.
|