We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a07011b commit f86c76aCopy full SHA for f86c76a
compiler/rustc_borrowck/src/region_infer/mod.rs
@@ -99,9 +99,9 @@ impl RegionTracker {
99
pub(crate) fn new(rvid: RegionVid, definition: &RegionDefinition<'_>) -> Self {
100
let (representative_is_placeholder, representative_is_existential) = match definition.origin
101
{
102
- rustc_infer::infer::NllRegionVariableOrigin::FreeRegion => (false, false),
103
- rustc_infer::infer::NllRegionVariableOrigin::Placeholder(_) => (true, false),
104
- rustc_infer::infer::NllRegionVariableOrigin::Existential { .. } => (false, true),
+ NllRegionVariableOrigin::FreeRegion => (false, false),
+ NllRegionVariableOrigin::Placeholder(_) => (true, false),
+ NllRegionVariableOrigin::Existential { .. } => (false, true),
105
};
106
107
let placeholder_universe =
0 commit comments