Skip to content

Fix or remove FIXME in std::smallintmap #2347

Closed
@catamorphism

Description

@catamorphism

A FIXME in std::smallintmap says: "FIXME: Should not be @; there's a bug somewhere in rustc that requires this to be" (as in: the definition of the smallintmap type is @{mut v: [mut option<T>]} and should be {mut v: [mut option<T>]}). I tried fixing this (and changing insert to take its first argument by pointer), but maybe there's still a bug in rustc, as the fix causes map lookups to fail. So it seems more complicated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-cleanupCategory: PRs that clean code up or issues documenting cleanup.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions