]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/mismatched_types/E0409.stderr
Reword label as per review comment
[rust.git] / src / test / ui / mismatched_types / E0409.stderr
index 4d5bfceb74e95343949e8845e2f443e08dbdca48..a73f9ab4dfddaa787be86ef8d324fb843bb9e6c2 100644 (file)
@@ -9,8 +9,10 @@ LL |         (0, ref y) | (y, 0) => {} //~ ERROR E0409
 error[E0308]: mismatched types
   --> $DIR/E0409.rs:5:23
    |
+LL |     match x {
+   |           - this match expression has type `_`
 LL |         (0, ref y) | (y, 0) => {} //~ ERROR E0409
-   |                       ^ expected &{integer}, found integral variable
+   |                       ^ expected &{integer}, found integer
    |
    = note: expected type `&{integer}`
               found type `{integer}`