Closed
Description
This is a direct replacement for now removed #![feature(custom_attribute)]
(#29642), except it doesn't rely on implicit fallback from unresolved attributes to custom attributes (which was always hacky and is the primary reason for the removal of custom_attribute
) and requires registering the attribute explicitly.
#![register_attr(my_attr)]
#[my_attr] // OK
fn main() {}
It's not yet clear whether this should go through stabilization or not.
It's quite possible that all the uses should migrate to #![register_tool]
(#66079) instead.
Metadata
Metadata
Assignees
Labels
Area: Attributes (`#[…]`, `#![…]`)Blocker: Implemented in the nightly compiler and unstable.Category: An issue tracking the progress of sth. like the implementation of an RFCCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Help is requested to fix this issue.Relevant to the language team, which will review and decide on the PR/issue.This PR / issue is in PFCP or FCP with a disposition to close it.The final comment period is finished for this PR / Issue.