]> git.proxmox.com Git - rustc.git/blob - src/tools/clippy/tests/ui/unit_cmp.stderr
New upstream version 1.23.0+dfsg1
[rustc.git] / src / tools / clippy / tests / ui / unit_cmp.stderr
1 error: ==-comparison of unit values detected. This will always be true
2 --> $DIR/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 --> $DIR/unit_cmp.rs:19:8
11 |
12 19 | if { true; } > { false; } {
13 | ^^^^^^^^^^^^^^^^^^^^^^
14