@@ -39,7 +39,7 @@ pub struct ForeignDefn(pub Identifier);
3939pub struct AdtDefn {
4040 pub name : Identifier ,
4141 pub variable_kinds : Vec < VariableKind > ,
42- pub where_clauses : IndexSet < QuantifiedWhereClause > ,
42+ pub where_clauses : Vec < QuantifiedWhereClause > ,
4343 pub variants : Vec < Variant > ,
4444 pub flags : AdtFlags ,
4545 pub repr : AdtRepr ,
@@ -110,7 +110,7 @@ pub struct FnSig {
110110pub struct FnDefn {
111111 pub name : Identifier ,
112112 pub variable_kinds : Vec < VariableKind > ,
113- pub where_clauses : IndexSet < QuantifiedWhereClause > ,
113+ pub where_clauses : Vec < QuantifiedWhereClause > ,
114114 pub argument_types : Vec < Ty > ,
115115 pub return_type : Ty ,
116116 pub sig : FnSig ,
@@ -140,7 +140,7 @@ impl Default for FnAbi {
140140pub struct TraitDefn {
141141 pub name : Identifier ,
142142 pub variable_kinds : Vec < VariableKind > ,
143- pub where_clauses : IndexSet < QuantifiedWhereClause > ,
143+ pub where_clauses : Vec < QuantifiedWhereClause > ,
144144 pub assoc_ty_defns : Vec < AssocTyDefn > ,
145145 pub flags : TraitFlags ,
146146 pub well_known : Option < WellKnownTrait > ,
@@ -178,7 +178,7 @@ pub struct AssocTyDefn {
178178 pub name : Identifier ,
179179 pub variable_kinds : Vec < VariableKind > ,
180180 pub bounds : Vec < QuantifiedInlineBound > ,
181- pub where_clauses : IndexSet < QuantifiedWhereClause > ,
181+ pub where_clauses : Vec < QuantifiedWhereClause > ,
182182}
183183
184184#[ derive( Clone , PartialEq , Eq , Debug ) ]
@@ -266,7 +266,7 @@ pub struct Impl {
266266 pub variable_kinds : Vec < VariableKind > ,
267267 pub trait_ref : TraitRef ,
268268 pub polarity : Polarity ,
269- pub where_clauses : IndexSet < QuantifiedWhereClause > ,
269+ pub where_clauses : Vec < QuantifiedWhereClause > ,
270270 pub assoc_ty_values : Vec < AssocTyValue > ,
271271 pub impl_type : ImplType ,
272272}
0 commit comments