]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/match/match-range-fail.stderr
New upstream version 1.61.0+dfsg1
[rustc.git] / src / test / ui / match / match-range-fail.stderr
index 938c05ac7324c8c02295977068cdb824c516b739..65db92df19f795b95173bacbd687df575f3ff69c 100644 (file)
@@ -27,6 +27,8 @@ LL |         true ..= "what" => {}
 error[E0308]: mismatched types
   --> $DIR/match-range-fail.rs:18:9
    |
+LL |     match 5 {
+   |           - this expression has type `{integer}`
 LL |         'c' ..= 100 => { }
    |         ^^^     --- this is of type `{integer}`
    |         |