Skip to content

Rc<T> does not implement RefUnwindSafe #45924

Closed
@mtak-

Description

@mtak-

Arc<T> implements both UnwindSafe and RefUnwindSafe (though maybe it only gets RefUnwindSafe because all of it's members happen to implement RefUnwindSafe).

Whereas Rc<T> only implements UnwindSafe. This seems like an oversight.

https://play.rust-lang.org/?gist=0d89773218a347569615e1bea7b352f6&version=nightly

Metadata

Metadata

Labels

C-enhancementCategory: An issue proposing an enhancement or a PR with one.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions