diff options
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, ); |