File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ pub struct Types<'a> {
14
14
pub rust : Set < & ' a Ident > ,
15
15
pub aliases : Map < & ' a Ident , & ' a TypeAlias > ,
16
16
pub untrusted : Map < & ' a Ident , & ' a ExternType > ,
17
- pub required_trivial_aliases : Set < & ' a Ident > ,
17
+ pub required_trivial_aliases : UnorderedSet < & ' a Ident > ,
18
18
}
19
19
20
20
impl < ' a > Types < ' a > {
@@ -140,7 +140,7 @@ impl<'a> Types<'a> {
140
140
// we check that this is permissible. We do this _after_ scanning all
141
141
// the APIs above, in case some function or struct references a type
142
142
// which is declared subsequently.
143
- let mut required_trivial_aliases = Set :: new ( ) ;
143
+ let mut required_trivial_aliases = UnorderedSet :: new ( ) ;
144
144
let mut insist_alias_types_are_trivial = |ty : & ' a Type | {
145
145
if let Type :: Ident ( ident) = ty {
146
146
if aliases. contains_key ( ident) {
You can’t perform that action at this time.
0 commit comments