remove Ty::is_copy_modulo_regions
This commit is contained in:
parent
cfee10ce89
commit
e089bead32
15 changed files with 36 additions and 29 deletions
|
@ -202,7 +202,7 @@ where
|
|||
}
|
||||
}
|
||||
|
||||
_ if component.is_copy_modulo_regions(tcx, self.typing_env) => {}
|
||||
_ if tcx.type_is_copy_modulo_regions(self.typing_env, component) => {}
|
||||
|
||||
ty::Closure(_, args) => {
|
||||
for upvar in args.as_closure().upvar_tys() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue