about summary refs log tree commit diff
path: root/src/test/parse-fail/mod_file_not_exist.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/parse-fail/mod_file_not_exist.rs')
-rw-r--r--src/test/parse-fail/mod_file_not_exist.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/parse-fail/mod_file_not_exist.rs b/src/test/parse-fail/mod_file_not_exist.rs
index bbf2152d5b7..7736394a6f5 100644
--- a/src/test/parse-fail/mod_file_not_exist.rs
+++ b/src/test/parse-fail/mod_file_not_exist.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
+
 mod not_a_real_file; //~ ERROR file not found for module `not_a_real_file`
 //~^ HELP name the file either not_a_real_file.rs or not_a_real_file/mod.rs inside the directory