diff options
| author | Florian Hahn <flo@fhahn.com> | 2015-02-09 20:01:45 +0100 |
|---|---|---|
| committer | Florian Hahn <flo@fhahn.com> | 2015-04-18 12:23:49 +0200 |
| commit | 2a24e97c80d5004cd1b57cb96a0bde6fe43a848d (patch) | |
| tree | 231f176011e80bb6e66d3d89bbd90fa71bbc6d43 /src/test/compile-fail | |
| parent | 7a5754b330e78e2ab5a2682a16f53f4f9fe96ed7 (diff) | |
| download | rust-2a24e97c80d5004cd1b57cb96a0bde6fe43a848d.tar.gz rust-2a24e97c80d5004cd1b57cb96a0bde6fe43a848d.zip | |
Return nonzero exit code if there are errors at a stop point
Diffstat (limited to 'src/test/compile-fail')
| -rw-r--r-- | src/test/compile-fail/mod_file_disambig.rs | 2 | ||||
| -rw-r--r-- | src/test/compile-fail/mod_file_not_owning.rs | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/test/compile-fail/mod_file_disambig.rs b/src/test/compile-fail/mod_file_disambig.rs index 48bd00a3ee0..27c253234be 100644 --- a/src/test/compile-fail/mod_file_disambig.rs +++ b/src/test/compile-fail/mod_file_disambig.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 mod_file_disambig_aux; //~ ERROR file for module `mod_file_disambig_aux` found at both fn main() { diff --git a/src/test/compile-fail/mod_file_not_owning.rs b/src/test/compile-fail/mod_file_not_owning.rs index adbcedd91f2..7dcff6e6644 100644 --- a/src/test/compile-fail/mod_file_not_owning.rs +++ b/src/test/compile-fail/mod_file_not_owning.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 + // error-pattern: cannot declare a new module at this location mod mod_file_not_owning_aux1; |
