Rename tcx.mk_re_*
=> Region::new_*
This commit is contained in:
parent
498553fc04
commit
e33e20824f
42 changed files with 291 additions and 233 deletions
|
@ -1065,7 +1065,7 @@ impl<'tcx> InferCtxt<'tcx> {
|
|||
) -> ty::Region<'tcx> {
|
||||
let region_var =
|
||||
self.inner.borrow_mut().unwrap_region_constraints().new_region_var(universe, origin);
|
||||
self.tcx.mk_re_var(region_var)
|
||||
ty::Region::new_var(self.tcx, region_var)
|
||||
}
|
||||
|
||||
/// Return the universe that the region `r` was created in. For
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue