Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Tracking Issue for #![feature(diagnostic_namespace)] #111996

Copy link
Copy link
@weiznich

Description

@weiznich
Issue body actions

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

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

  1. https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html

Metadata

Metadata

Assignees

No one assigned

    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.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.