Continue to borrowck even if there were previous errors
This commit is contained in:
parent
e5461de392
commit
eab2adb660
198 changed files with 3222 additions and 494 deletions
|
@ -209,7 +209,7 @@ pub fn check_crate(tcx: TyCtxt<'_>) -> Result<(), ErrorGuaranteed> {
|
|||
|
||||
tcx.ensure().check_unused_traits(());
|
||||
|
||||
if let Some(reported) = tcx.dcx().has_errors() { Err(reported) } else { Ok(()) }
|
||||
Ok(())
|
||||
}
|
||||
|
||||
/// A quasi-deprecated helper used in rustdoc and clippy to get
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue