-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
Arc::get_mut_unchecked does not mention restrictions on drop #136322
Copy link
Copy link
Open
Labels
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: Documentation for any part of the project, including the compiler, standard library, and toolsT-libsRelevant to the library team, which will review and decide on the PR/issue.Relevant to the library team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: Documentation for any part of the project, including the compiler, standard library, and toolsT-libsRelevant to the library team, which will review and decide on the PR/issue.Relevant to the library team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Location
Arc::get_mut_uncheckedSummary
The safety comment on
Arc::get_mut_uncheckedstates:But it mentions nothing about dropping
Arcs, which triggers unsoundness in MIRI: