Make crate_inherent_impls fallible and stop using track_errors for it
This commit is contained in:
@@ -168,7 +168,7 @@ impl<'tcx> InherentOverlapChecker<'tcx> {
|
||||
return Ok(());
|
||||
}
|
||||
|
||||
let impls = self.tcx.inherent_impls(id.owner_id);
|
||||
let impls = self.tcx.inherent_impls(id.owner_id)?;
|
||||
|
||||
let overlap_mode = OverlapMode::get(self.tcx, id.owner_id.to_def_id());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user