]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_borrowck/src/universal_regions.rs
Auto merge of #97925 - the8472:cgroupv1, r=joshtriplett
[rust.git] / compiler / rustc_borrowck / src / universal_regions.rs
index 89d84fcf09cfe66c7250f6435ce486ec2e54b557..2a7713bc4df3b6d1e8be939ef07799a5c412f820 100644 (file)
@@ -503,7 +503,7 @@ fn build(self) -> UniversalRegions<'tcx> {
 
         let root_empty = self
             .infcx
-            .next_nll_region_var(NllRegionVariableOrigin::RootEmptyRegion)
+            .next_nll_region_var(NllRegionVariableOrigin::Existential { from_forall: true })
             .to_region_vid();
 
         UniversalRegions {