]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/unit_cmp.stderr
Auto merge of #4478 - tsurai:master, r=flip1995
[rust.git] / tests / ui / unit_cmp.stderr
index 7c76945fe3e7f8fbdc8a8713c16cc4db50f3544a..56293403043d6987eae8d8b921318ce1a5b02d42 100644 (file)
@@ -1,25 +1,25 @@
 error: ==-comparison of unit values detected. This will always be true
-  --> $DIR/unit_cmp.rs:21:8
+  --> $DIR/unit_cmp.rs:12:8
    |
-21 |       if {
+LL |       if {
    |  ________^
-22 | |         true;
-23 | |     } == {
-24 | |         false;
-25 | |     } {}
+LL | |         true;
+LL | |     } == {
+LL | |         false;
+LL | |     } {}
    | |_____^
    |
    = note: `-D clippy::unit-cmp` implied by `-D warnings`
 
 error: >-comparison of unit values detected. This will always be false
-  --> $DIR/unit_cmp.rs:27:8
+  --> $DIR/unit_cmp.rs:18:8
    |
-27 |       if {
+LL |       if {
    |  ________^
-28 | |         true;
-29 | |     } > {
-30 | |         false;
-31 | |     } {}
+LL | |         true;
+LL | |     } > {
+LL | |         false;
+LL | |     } {}
    | |_____^
 
 error: aborting due to 2 previous errors