@@ -12,7 +12,7 @@ use common::CompareMode;
1212use common:: { expected_output_path, UI_EXTENSIONS , UI_FIXED , UI_STDERR , UI_STDOUT } ;
1313use common:: { output_base_dir, output_base_name, output_testname_unique} ;
1414use common:: { Codegen , CodegenUnits , DebugInfoBoth , DebugInfoGdb , DebugInfoLldb , Rustdoc } ;
15- use common:: { CompileFail , ParseFail , Pretty , RunFail , RunPass , RunPassValgrind } ;
15+ use common:: { CompileFail , Pretty , RunFail , RunPass , RunPassValgrind } ;
1616use common:: { Config , TestPaths } ;
1717use common:: { Incremental , MirOpt , RunMake , Ui } ;
1818use diff;
@@ -265,7 +265,7 @@ impl<'test> TestCx<'test> {
265265 /// revisions, exactly once, with revision == None).
266266 fn run_revision ( & self ) {
267267 match self . config . mode {
268- CompileFail | ParseFail => self . run_cfail_test ( ) ,
268+ CompileFail => self . run_cfail_test ( ) ,
269269 RunFail => self . run_rfail_test ( ) ,
270270 RunPassValgrind => self . run_valgrind_test ( ) ,
271271 Pretty => self . run_pretty_test ( ) ,
@@ -296,7 +296,7 @@ impl<'test> TestCx<'test> {
296296
297297 fn should_compile_successfully ( & self ) -> bool {
298298 match self . config . mode {
299- ParseFail | CompileFail => self . props . compile_pass ,
299+ CompileFail => self . props . compile_pass ,
300300 RunPass => true ,
301301 Ui => self . props . compile_pass ,
302302 Incremental => {
@@ -1741,7 +1741,7 @@ impl<'test> TestCx<'test> {
17411741 }
17421742
17431743 match self . config . mode {
1744- CompileFail | ParseFail | Incremental => {
1744+ CompileFail | Incremental => {
17451745 // If we are extracting and matching errors in the new
17461746 // fashion, then you want JSON mode. Old-skool error
17471747 // patterns still match the raw compiler output.
0 commit comments