]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/or-pattern-mismatch.stderr
Reword label as per review comment
[rust.git] / src / test / ui / or-pattern-mismatch.stderr
index 731b2090a7ba04bc140d7c825bf96c74575b7133..c3a203cf3ab6e65b95cc68a9f06b9ce1a0633de0 100644 (file)
@@ -2,7 +2,9 @@ error[E0308]: mismatched types
   --> $DIR/or-pattern-mismatch.rs:3:68
    |
 LL | fn main() { match Blah::A(1, 1, 2) { Blah::A(_, x, y) | Blah::B(x, y) => { } } }
-   |                                                                    ^ expected usize, found isize
+   |                   ----------------                                 ^ expected usize, found isize
+   |                   |
+   |                   this match expression has type `_`
    |
    = note: expected type `usize`
               found type `isize`