Rollup merge of #35640 - ahmedcharles:dead, r=alexcrichton

compiletest: Remove dead code.
This commit is contained in:
Eduard-Mihai Burtescu 2016-08-14 20:29:52 +03:00 committed by GitHub
commit 42b3df23e2

View File

@ -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() {