summaryrefslogtreecommitdiff
path: root/compiler/rustc_typeck/src/check/regionck.rs
diff options
context:
space:
mode:
authorlcnr <rust@lcnr.de>2022-06-29 09:58:39 +0200
committerGitHub <noreply@github.com>2022-06-29 09:58:39 +0200
commit03534fa6519685d484cf3694894003a78276c362 (patch)
tree8fcb8a1f0b844354618dccd7973b50905512613d /compiler/rustc_typeck/src/check/regionck.rs
parent116edb6800ea1d6615578e7f65366ae65364b3d8 (diff)
downloadrust-revert-98576-region-stuff-cool-beans.tar.gz
Revert "small regions refactoring"revert-98576-region-stuff-cool-beans
Diffstat (limited to 'compiler/rustc_typeck/src/check/regionck.rs')
-rw-r--r--compiler/rustc_typeck/src/check/regionck.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_typeck/src/check/regionck.rs b/compiler/rustc_typeck/src/check/regionck.rs
index 0ce63922098..161ec31793d 100644
--- a/compiler/rustc_typeck/src/check/regionck.rs
+++ b/compiler/rustc_typeck/src/check/regionck.rs
@@ -366,6 +366,7 @@ impl<'a, 'tcx> RegionCtxt<'a, 'tcx> {
fn resolve_regions_and_report_errors(&self) {
self.infcx.process_registered_region_obligations(
self.outlives_environment.region_bound_pairs_map(),
+ Some(self.tcx.lifetimes.re_root_empty),
self.param_env,
);