]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/match/match-range-fail.stderr
Reword label as per review comment
[rust.git] / src / test / ui / match / match-range-fail.stderr
index 54969927433a43dfceb3fb449ce51e30168c2211..532f5e23ff5e90f6b66bc4bd0961b3881b0d1cd2 100644 (file)
@@ -19,6 +19,8 @@ LL |         10 ..= "what" => ()
 error[E0308]: mismatched types
   --> $DIR/match-range-fail.rs:17:9
    |
+LL |     match 5 {
+   |           - this match expression has type `{integer}`
 LL |         'c' ..= 100 => { }
    |         ^^^^^^^^^^^ expected integer, found char
    |