about summary refs log tree commit diff
path: root/src/test/parse-fail/removed-syntax-record.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/parse-fail/removed-syntax-record.rs')
-rw-r--r--src/test/parse-fail/removed-syntax-record.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/parse-fail/removed-syntax-record.rs b/src/test/parse-fail/removed-syntax-record.rs
index ae5a68575f7..fd6f99bdbf9 100644
--- a/src/test/parse-fail/removed-syntax-record.rs
+++ b/src/test/parse-fail/removed-syntax-record.rs
@@ -8,4 +8,6 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// compile-flags: -Z parse-only
+
 type t = { f: () }; //~ ERROR expected type, found `{`