PrintAttribute

Derive Macro PrintAttribute 

Source
#[derive(PrintAttribute)]
Expand description

Derives PrintAttribute for AttributeKind. This macro is pretty specific to rustc_hir::attrs and likely not that useful in other places. It’s deriving something close to Debug without printing some extraneous things like spans.