From a66b7d4e9da5273b12bb610e05dbf2bb190f431e Mon Sep 17 00:00:00 2001 From: "Felix S. Klock II" Date: Sat, 15 Sep 2018 06:52:18 +0200 Subject: Mark `ParseFail` as tests that are not expected to compile. (I did not notice earlier that `ParseFail` delegates to `fn run_cfail_test`.) --- src/tools/compiletest/src/runtest.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs index 3f0e4cd4cc4..85ef215b5cf 100644 --- a/src/tools/compiletest/src/runtest.rs +++ b/src/tools/compiletest/src/runtest.rs @@ -271,7 +271,7 @@ impl<'test> TestCx<'test> { fn should_compile_successfully(&self) -> bool { match self.config.mode { - CompileFail => false, + ParseFail | CompileFail => false, RunPass => true, Ui => self.props.compile_pass, mode => panic!("unimplemented for mode {:?}", mode), -- cgit 1.4.1-3-g733a5