Crate proc_util_macros

Source

Attribute Macrosยง

overwrite_with
Similar to suppress_item, but will instead entirely replace the item this attribute is attached to with whatever item is specified in the attribute arguments.
suppress_item
Completely suppresses the attached item from being emitted into the surrounding source file. If you put this attribute last, the previous attributes will still see the item.