Skip to content

Allow an optional reason field to lint attributes #3358

Closed

Description

@brson

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

Activity

  1. graydon commented on Apr 25, 2013

    @graydon
    Contributor

    +1 this should satisfy the most pedantic of pedants

  2. emberian commented on Jun 25, 2013

    @emberian
    Contributor

    Nominating for production ready.

  3. pnkfelix commented on Jun 27, 2013

    @pnkfelix
    Contributor

    not accepted for milestone.

  4. emberian commented on Aug 29, 2013

    @emberian
    Contributor

    Assigning to myself; will work on today.

  5. catamorphism commented on Sep 24, 2013

    @catamorphism
    Contributor

    Heh, didn't realize this existed. Since #9025 was closed, this should be closed too.

  6. added a commit that references this issue on Mar 9, 2024
  7. added a commit that references this issue on Jul 29, 2024
    9f230ba
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-attributesA-lintsE-easy

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions