@@ -58,6 +58,7 @@ impl_internable!(
58
58
InternedWrapper <chalk_ir:: ConstData <Interner >>,
59
59
InternedWrapper <Vec <chalk_ir:: CanonicalVarKind <Interner >>>,
60
60
InternedWrapper <Vec <chalk_ir:: ProgramClause <Interner >>>,
61
+ InternedWrapper <Vec <chalk_ir:: QuantifiedWhereClause <Interner >>>,
61
62
) ;
62
63
63
64
impl chalk_ir:: interner:: Interner for Interner {
@@ -71,7 +72,7 @@ impl chalk_ir::interner::Interner for Interner {
71
72
type InternedSubstitution = Interned < InternedSubstitutionInner > ;
72
73
type InternedProgramClause = Arc < chalk_ir:: ProgramClauseData < Self > > ;
73
74
type InternedProgramClauses = Interned < InternedWrapper < Vec < chalk_ir:: ProgramClause < Self > > > > ;
74
- type InternedQuantifiedWhereClauses = Vec < chalk_ir:: QuantifiedWhereClause < Self > > ;
75
+ type InternedQuantifiedWhereClauses = Interned < InternedWrapper < Vec < chalk_ir:: QuantifiedWhereClause < Self > > > > ;
75
76
type InternedVariableKinds = Interned < InternedVariableKindsInner > ;
76
77
type InternedCanonicalVarKinds = Interned < InternedWrapper < Vec < chalk_ir:: CanonicalVarKind < Self > > > > ;
77
78
type InternedConstraints = Vec < chalk_ir:: InEnvironment < chalk_ir:: Constraint < Self > > > ;
@@ -342,7 +343,7 @@ impl chalk_ir::interner::Interner for Interner {
342
343
& self ,
343
344
data : impl IntoIterator < Item = Result < chalk_ir:: QuantifiedWhereClause < Self > , E > > ,
344
345
) -> Result < Self :: InternedQuantifiedWhereClauses , E > {
345
- data. into_iter ( ) . collect ( )
346
+ Ok ( Interned :: new ( InternedWrapper ( data. into_iter ( ) . collect :: < Result < _ , _ > > ( ) ? ) ) )
346
347
}
347
348
348
349
fn quantified_where_clauses_data < ' a > (
0 commit comments