about summary refs log tree commit diff
path: root/src/test/parse-fail/issue-10412.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/parse-fail/issue-10412.rs')
-rw-r--r--src/test/parse-fail/issue-10412.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/parse-fail/issue-10412.rs b/src/test/parse-fail/issue-10412.rs
index 8a99633b4fc..0b9456bc080 100644
--- a/src/test/parse-fail/issue-10412.rs
+++ b/src/test/parse-fail/issue-10412.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
+
 
 trait Serializable<'self, T> { //~ ERROR no longer a special lifetime
     fn serialize(val : &'self T) -> Vec<u8> ; //~ ERROR no longer a special lifetime