Skip to content

Commit 42b3df2

Browse files
authored
Rollup merge of rust-lang#35640 - ahmedcharles:dead, r=alexcrichton
compiletest: Remove dead code.
2 parents 2294fc4 + 08e470f commit 42b3df2

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/tools/compiletest/src/runtest.rs

-4
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,6 @@ impl<'test> TestCx<'test> {
137137

138138
self.check_correct_failure_status(&proc_res);
139139

140-
if proc_res.status.success() {
141-
self.fatal("process did not return an error status");
142-
}
143-
144140
let output_to_check = self.get_output(&proc_res);
145141
let expected_errors = errors::load_errors(&self.testpaths.file, self.revision);
146142
if !expected_errors.is_empty() {

0 commit comments

Comments
 (0)