Skip to content

1.36 changes the UnwindSafe impl precondition for HashMap #62301

Closed
@CAD97

Description

@CAD97

https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=0e5a528fc978a90aa15bbf01f68dd1bf

assert_unwind_safe::<HashMap<(), UnsafeCell<()>>>();

Successfully compiles on stable 1.35, fails on beta/pre 1.36.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-collectionsArea: `std::collections`C-bugCategory: This is a bug.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions