Skip to content

Consider deleting FORMAT_MACRO_DIAG_ITEMS, and tag the macros in stdlib #14267

@nyurik

Description

@nyurik

Now that #[clippy::format_args] has been released, should we delete the FORMAT_MACRO_DIAG_ITEMS list, and instead tag all relevant macros with the new attribute in the stdlib?

Benefits

  • Keep each macro's metadata next to the declaration.
  • No need to track when new relevant macros are written
  • Improves discoverability of the #[clippy::format_args], as any developer writing format-like macro will see it in the declaration

Blockers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions