Skip to content
  • Jim Blandy's avatar
    Use `UniqueArena` for types. · 944a693a
    Jim Blandy authored
    Ensure that each distinct type occurs only once in `Module::types`, so that we
    can use `Eq` on `Type` or `TypeInner` for type equivalence, without being
    confused by differing `Handle<Type>` values that point to identical types.
    
    This removes a number of duplicate types from the ir snapshots.
    
    Fixes #1385.
    944a693a
This project manages its dependencies using Cargo. Learn more