Skip to content

Allow an optional reason field to lint attributes #3358

Closed
@brson

Description

@brson

Possibly like #[allow(types, reason = "whatever"). Then add another lint check that any allow attributes also have a reason.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-attributesArea: Attributes (`#[…]`, `#![…]`)A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions