• J
    Allow proc_macro functions to whitelist specific attributes · 31a508e1
    Josh Driver 提交于
    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.
    31a508e1
derive-b.rs 785 字节