remove Ty::is_copy_modulo_regions
This commit is contained in:
parent
cfee10ce89
commit
e089bead32
15 changed files with 36 additions and 29 deletions
|
@ -35,7 +35,7 @@ impl<'tcx> InferCtxt<'tcx> {
|
|||
// FIXME(#132279): This should be removed as it causes us to incorrectly
|
||||
// handle opaques in their defining scope.
|
||||
if !(param_env, ty).has_infer() {
|
||||
return ty.is_copy_modulo_regions(self.tcx, self.typing_env(param_env));
|
||||
return self.tcx.type_is_copy_modulo_regions(self.typing_env(param_env), ty);
|
||||
}
|
||||
|
||||
let copy_def_id = self.tcx.require_lang_item(LangItem::Copy, None);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue