about summary refs log tree commit diff
path: root/src/test/ui/parser/bind-struct-early-modifiers.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/parser/bind-struct-early-modifiers.rs')
-rw-r--r--src/test/ui/parser/bind-struct-early-modifiers.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/test/ui/parser/bind-struct-early-modifiers.rs b/src/test/ui/parser/bind-struct-early-modifiers.rs
index c1de0df54e2..c4b1937de10 100644
--- a/src/test/ui/parser/bind-struct-early-modifiers.rs
+++ b/src/test/ui/parser/bind-struct-early-modifiers.rs
@@ -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`
         _ => {}
     }
 }