Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-ty/src/interner.rs')
| -rw-r--r-- | crates/hir-ty/src/interner.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/hir-ty/src/interner.rs b/crates/hir-ty/src/interner.rs index bd4a53603d..fecb3f4242 100644 --- a/crates/hir-ty/src/interner.rs +++ b/crates/hir-ty/src/interner.rs @@ -43,7 +43,7 @@ impl_internable!( InternedWrapper<ConstData>, InternedWrapper<ConstScalar>, InternedWrapper<Vec<CanonicalVarKind>>, - InternedWrapper<Vec<ProgramClause>>, + InternedWrapper<Box<[ProgramClause]>>, InternedWrapper<Vec<QuantifiedWhereClause>>, InternedWrapper<SmallVec<[Variance; 16]>>, ); @@ -60,7 +60,7 @@ impl chalk_ir::interner::Interner for Interner { type InternedGoal = Arc<GoalData>; type InternedGoals = Vec<Goal>; type InternedSubstitution = Interned<InternedWrapper<SmallVec<[GenericArg; 2]>>>; - type InternedProgramClauses = Interned<InternedWrapper<Vec<ProgramClause>>>; + type InternedProgramClauses = Interned<InternedWrapper<Box<[ProgramClause]>>>; type InternedProgramClause = ProgramClauseData; type InternedQuantifiedWhereClauses = Interned<InternedWrapper<Vec<QuantifiedWhereClause>>>; type InternedVariableKinds = Interned<InternedWrapper<Vec<VariableKind>>>; |