diff options
author | lcnr <rust@lcnr.de> | 2022-06-29 09:58:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-29 09:58:39 +0200 |
commit | 03534fa6519685d484cf3694894003a78276c362 (patch) | |
tree | 8fcb8a1f0b844354618dccd7973b50905512613d /compiler/rustc_typeck/src/check/regionck.rs | |
parent | 116edb6800ea1d6615578e7f65366ae65364b3d8 (diff) | |
download | rust-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.rs | 1 |
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, ); |