]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/parser/bind-struct-early-modifiers.rs
Rollup merge of #67005 - andrewbanchich:master, r=joshtriplett
[rust.git] / src / test / ui / parser / bind-struct-early-modifiers.rs
index c1de0df54e278112637a2726177ac19279c3f24e..c4b1937de104f491516280e2ec8e857cbbb58474 100644 (file)
@@ -2,7 +2,6 @@ fn main() {
     struct Foo { x: isize }
     match (Foo { x: 10 }) {
         Foo { ref x: ref x } => {}, //~ ERROR expected `,`
-                                    //~| ERROR pattern does not mention field `x`
         _ => {}
     }
 }