Skip to content

Once confident in dropck: remove #[unsafe_destructor] attribute #22196

Closed
@pnkfelix

Description

@pnkfelix

Spawned off of #8861, this is the last step in RFC #769, Sound Generic Drop.

Basically, once we are relatively confident that:

  • the Drop-Check rule is sound,
  • the dropck code is at least a sound approximation of that rule, and
  • we have audited APIs in libstd for destructor safety,

then we should remove the #[unsafe_destructor] attribute and all the uses of it.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions