Eliminate DefiningAnchor now that is just a single-variant enum
This commit is contained in:
@@ -69,8 +69,8 @@ impl<'a, Infcx: InferCtxtLike<Interner = I>, I: Interner> Canonicalizer<'a, Infc
|
||||
|
||||
let (max_universe, variables) = canonicalizer.finalize();
|
||||
|
||||
let defining_anchor = infcx.defining_anchor();
|
||||
Canonical { defining_anchor, max_universe, variables, value }
|
||||
let defining_opaque_types = infcx.defining_opaque_types();
|
||||
Canonical { defining_opaque_types, max_universe, variables, value }
|
||||
}
|
||||
|
||||
fn finalize(self) -> (ty::UniverseIndex, I::CanonicalVars) {
|
||||
|
||||
Reference in New Issue
Block a user