31a508e118
By using a second attribute `attributes(Bar)` on proc_macro_derive, whitelist any attributes with the name `Bar` in the deriving item. This allows a proc_macro function to use custom attribtues without a custom attribute error or unused attribute lint. |
||
---|---|---|
.. | ||
Cargo.toml | ||
lib.rs |