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, 2 insertions, 0 deletions
diff --git a/src/test/parse-fail/bind-struct-early-modifiers.rs b/src/test/parse-fail/bind-struct-early-modifiers.rs
index c358a21d125..25348a3bfd1 100644
--- a/src/test/parse-fail/bind-struct-early-modifiers.rs
+++ b/src/test/parse-fail/bind-struct-early-modifiers.rs
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// compile-flags: -Z parse-only
+
 fn main() {
     struct Foo { x: isize }
     match (Foo { x: 10 }) {