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
|
@ -2451,7 +2451,7 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
|
|||
),
|
||||
);
|
||||
let value = self.infcx.fresh_substs_for_item(obligation.cause.span, impl_def_id);
|
||||
let err = self.tcx().ty_error_with_guaranteed(guar);
|
||||
let err = self.tcx().ty_error(guar);
|
||||
let value = value.fold_with(&mut BottomUpFolder {
|
||||
tcx: self.tcx(),
|
||||
ty_op: |_| err,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue