Open
Description
Tracking issue for rust-lang/rfcs#1327
- Allow attributes on lifetime/type formal parameters (
generic_param_attrs
feature): Attributes on generic formals #34764 - Add
#[may_dangle]
attribute for lifetime/type formal parameters onunsafe impl<...> Drop
(dropck_eyepatch
feature) - Replace uses of
#[unsafe_destructor_blind_to_params]
attribute in libstd with#[may_dangle]
Replace uses of#[unsafe_destructor_blind_to_params]
with#[may_dangle]
#38664 - Update nomicon to use
#[may_dangle]
instead of#[unsafe_destructor_blind_to_params]
Update nomicon to describe#[may_dangle]
#39196 - Remove support for
#[unsafe_destructor_blind_to_params]
attribute (with warning cycle before removal).- Deprecated in Deprecate
#[unsafe_destructor_blind_to_params]
#38970 - need to replace remaining references (e.g. in test suite) to
#[unsafe_destructor_blind_to_params]
with[may_dangle]
before we can actually remove the former.
- Deprecated in Deprecate
For docs explaining the feature, also see the forge.
Metadata
Metadata
Assignees
Labels
Blocker: Approved by a merged RFC but not yet implemented.Blocker: Implemented in the nightly compiler and unstable.Category: An issue tracking the progress of sth. like the implementation of an RFC`#![feature(dropck_eyepatch)]`Status: The feature will stay unstable indefinitely.Relevant to the language team, which will review and decide on the PR/issue.