only abort after all early passes have run
This commit is contained in:
parent
bef0f2576d
commit
323b2b71ec
2 changed files with 2 additions and 2 deletions
|
|
@ -596,6 +596,8 @@ pub fn run_core(search_paths: SearchPaths,
|
|||
}
|
||||
}
|
||||
|
||||
ctxt.sess().abort_if_errors();
|
||||
|
||||
(krate, ctxt.renderinfo.into_inner(), passes)
|
||||
}), &sess)
|
||||
})
|
||||
|
|
|
|||
|
|
@ -379,8 +379,6 @@ impl<'a, 'tcx, 'rcx, 'cstore> DocFolder for LinkCollector<'a, 'tcx, 'rcx, 'cstor
|
|||
}
|
||||
}
|
||||
|
||||
cx.sess().abort_if_errors();
|
||||
|
||||
if item.is_mod() && !item.attrs.inner_docs {
|
||||
self.mod_ids.push(item_node_id.unwrap());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue