Eliminate DefiningAnchor
now that is just a single-variant enum
This commit is contained in:
parent
dd72bf922a
commit
2f2350e577
20 changed files with 109 additions and 140 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue