Pass list of defineable opaque types into canonical queries
This commit is contained in:
parent
ea44ce059b
commit
19bd91d128
30 changed files with 101 additions and 139 deletions
|
@ -69,7 +69,8 @@ impl<'a, Infcx: InferCtxtLike<Interner = I>, I: Interner> Canonicalizer<'a, Infc
|
|||
|
||||
let (max_universe, variables) = canonicalizer.finalize();
|
||||
|
||||
Canonical { max_universe, variables, value }
|
||||
let defining_anchor = infcx.defining_anchor();
|
||||
Canonical { defining_anchor, max_universe, variables, value }
|
||||
}
|
||||
|
||||
fn finalize(self) -> (ty::UniverseIndex, I::CanonicalVars) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue