]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/rfc-2294-if-let-guard/warns.rs
New upstream version 1.52.0~beta.3+dfsg1
[rustc.git] / src / test / ui / rfc-2294-if-let-guard / warns.rs
index 9691a12f45b05f584228a4c56a775d30736b583a..d921367b91775f3c114471e5e16b170f1025d0f4 100644 (file)
@@ -5,7 +5,7 @@
 fn irrefutable_let_guard() {
     match Some(()) {
         Some(x) if let () = x => {}
-        //~^ ERROR irrefutable if-let guard
+        //~^ ERROR irrefutable `if let` guard
         _ => {}
     }
 }