-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Description
Feature gate: #![feature(diagnostic_namespace)]
This is a tracking issue for RFC 3368, which introduces a #[diagnostic]
attribute namespace for attributes that affect the compiler diagnostics. Using an unknown attribute in this attribute namespace should only result in a warning.
Public API
#[diagnostic::something] // generates a lint warning.
pub struct Magic;
Steps / History
- Implementation: Diagnostic namespace #111780
- Final comment period (FCP)1: Stabilize the
#[diagnostic]
namespace and#[diagnostic::on_unimplemented]
attribute #119888 (comment) - Stabilization PR: Stabilize the
#[diagnostic]
namespace and#[diagnostic::on_unimplemented]
attribute #119888
Unresolved Questions
- None yet. (All unresolved questions in the RFC are related to the design of the
#[diagnostic::on_unimplemented]
attribute, which likely will use a different feature)
Footnotes
Metadata
Metadata
Assignees
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.