]> 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 08f132efd0526fcc2b1774875f6f3541015051f2..a73f9ab4dfddaa787be86ef8d324fb843bb9e6c2 100644 (file)
@@ -9,6 +9,8 @@ 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 integer
    |