about summary refs log tree commit diff
path: root/src/test/parse-fail/issue-14303-path.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/parse-fail/issue-14303-path.rs')
-rw-r--r--src/test/parse-fail/issue-14303-path.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/parse-fail/issue-14303-path.rs b/src/test/parse-fail/issue-14303-path.rs
index 30cc41c3588..f0d1feffec8 100644
--- a/src/test/parse-fail/issue-14303-path.rs
+++ b/src/test/parse-fail/issue-14303-path.rs
@@ -8,5 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// compile-flags: -Z parse-only
+
 fn bar<'a, T>(x: mymodule::X<'a, T, 'b, 'c>) {}
 //~^ ERROR lifetime parameters must be declared prior to type parameters