Rename ty_error_with_guaranteed to ty_error, ty_error to ty_error_misc
This commit is contained in:
parent
1e7ef03b40
commit
298ae8c721
32 changed files with 121 additions and 140 deletions
|
@ -126,7 +126,7 @@ impl<'tcx> TypeRelation<'tcx> for Sub<'_, '_, 'tcx> {
|
|||
|
||||
(&ty::Error(e), _) | (_, &ty::Error(e)) => {
|
||||
infcx.set_tainted_by_errors(e);
|
||||
Ok(self.tcx().ty_error_with_guaranteed(e))
|
||||
Ok(self.tcx().ty_error(e))
|
||||
}
|
||||
|
||||
(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue