]> 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 8d067c703b73135451be5b98e496739024209f08..532f5e23ff5e90f6b66bc4bd0961b3881b0d1cd2 100644 (file)
@@ -19,8 +19,10 @@ 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 integral variable, found char
+   |         ^^^^^^^^^^^ expected integer, found char
    |
    = note: expected type `{integer}`
               found type `char`