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
Now that
#[clippy::format_args]has been released, should we delete theFORMAT_MACRO_DIAG_ITEMSlist, and instead tag all relevant macros with the new attribute in the stdlib?Benefits
#[clippy::format_args], as any developer writing format-like macro will see it in the declarationBlockers
macro_exported macro and reexporting it incorrectly triggers the macro_expanded_macro_exports_accessed_by_absolute_paths error rust#98291