Rollup merge of #35640 - ahmedcharles:dead, r=alexcrichton
compiletest: Remove dead code.
This commit is contained in:
commit
42b3df23e2
@ -137,10 +137,6 @@ fn run_cfail_test(&self) {
|
||||
|
||||
self.check_correct_failure_status(&proc_res);
|
||||
|
||||
if proc_res.status.success() {
|
||||
self.fatal("process did not return an error status");
|
||||
}
|
||||
|
||||
let output_to_check = self.get_output(&proc_res);
|
||||
let expected_errors = errors::load_errors(&self.testpaths.file, self.revision);
|
||||
if !expected_errors.is_empty() {
|
||||
|
Loading…
Reference in New Issue
Block a user