about summary refs log tree commit diff
path: root/src/test/parse-fail/bind-struct-early-modifiers.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/parse-fail/bind-struct-early-modifiers.rs')
-rw-r--r--src/test/parse-fail/bind-struct-early-modifiers.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/parse-fail/bind-struct-early-modifiers.rs b/src/test/parse-fail/bind-struct-early-modifiers.rs
index 25348a3bfd1..e9e76af11a5 100644
--- a/src/test/parse-fail/bind-struct-early-modifiers.rs
+++ b/src/test/parse-fail/bind-struct-early-modifiers.rs
@@ -13,7 +13,7 @@
 fn main() {
     struct Foo { x: isize }
     match (Foo { x: 10 }) {
-        Foo { ref x: ref x } => {}, //~ ERROR expected `,`, found `:`
+        Foo { ref x: ref x } => {}, //~ ERROR expected `,`
         _ => {}
     }
 }