about summary refs log tree commit diff
path: root/src/test/parse-fail/mod_file_not_exist.rs
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2015-02-09 20:01:45 +0100
committerFlorian Hahn <flo@fhahn.com>2015-04-18 12:23:49 +0200
commit2a24e97c80d5004cd1b57cb96a0bde6fe43a848d (patch)
tree231f176011e80bb6e66d3d89bbd90fa71bbc6d43 /src/test/parse-fail/mod_file_not_exist.rs
parent7a5754b330e78e2ab5a2682a16f53f4f9fe96ed7 (diff)
downloadrust-2a24e97c80d5004cd1b57cb96a0bde6fe43a848d.tar.gz
rust-2a24e97c80d5004cd1b57cb96a0bde6fe43a848d.zip
Return nonzero exit code if there are errors at a stop point
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