]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/issue-19991.rs
New upstream version 1.12.0+dfsg1
[rustc.git] / src / test / compile-fail / issue-19991.rs
index b368daaaf587c15cf874979d1a2ce9ec93c5d161..e07dfaf9fe59e1d7296c159925bd98f3ac7ed804 100644 (file)
@@ -14,7 +14,7 @@
 fn main() {
     if let Some(homura) = Some("madoka") { //~  ERROR missing an else clause
                                            //~| expected type `()`
-                                           //~| found type `_`
+                                           //~| found type `{integer}`
                                            //~| expected (), found integral variable
         765
     };