]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/issues/issue-17800.rs
New upstream version 1.31.0~beta.4+dfsg1
[rustc.git] / src / test / ui / issues / issue-17800.rs
index f7cae91aa93a43e334e5812f19499aff4aae6897..8ccf34f2456f43c9c6646318de8c03f293ab5e8e 100644 (file)
@@ -17,7 +17,6 @@ fn main() {
     match MyOption::MySome(42) {
         MyOption::MySome { x: 42 } => (),
         //~^ ERROR variant `MyOption::MySome` does not have a field named `x`
-        //~| ERROR pattern does not mention field `0`
         _ => (),
     }
 }