Skip to content

Commit 1571806

Browse files
committed
Auto merge of #743 - pierwill:rm-max-universe, r=jackh726
Remove unused field Remove `chalk-solve::infer::Canonicalized.max_universe`. Closes #742.
2 parents 884cd71 + 12ce418 commit 1571806

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

chalk-solve/src/infer/canonicalize.rs

-6
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,12 @@ impl<I: Interner> InferenceTable<I> {
4141
};
4242
let value = value.fold_with(&mut q, DebruijnIndex::INNERMOST).unwrap();
4343
let free_vars = q.free_vars.clone();
44-
let max_universe = q.max_universe;
4544

4645
Canonicalized {
4746
quantified: Canonical {
4847
value,
4948
binders: q.into_binders(),
5049
},
51-
max_universe,
5250
free_vars,
5351
}
5452
}
@@ -61,10 +59,6 @@ pub struct Canonicalized<T: HasInterner> {
6159

6260
/// The free existential variables, along with the universes they inhabit.
6361
pub free_vars: Vec<ParameterEnaVariable<T::Interner>>,
64-
65-
/// The maximum universe of any universally quantified variables
66-
/// encountered.
67-
max_universe: UniverseIndex,
6862
}
6963

7064
struct Canonicalizer<'q, I: Interner> {

0 commit comments

Comments
 (0)