about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorJosh Driver <keeperofdakeys@gmail.com>2016-11-08 21:45:02 +1030
committerJosh Driver <keeperofdakeys@gmail.com>2016-11-08 23:03:56 +1030
commit31a508e1185713c6e570bb963dd3e097a228957c (patch)
tree8f4e844613e956fc6d90b391b89b459e4bdc85c4 /src/test/incremental/thinlto
parentd377cf5b3fbaae4baa67b4f29a952b565ef1a814 (diff)
downloadrust-31a508e1185713c6e570bb963dd3e097a228957c.tar.gz
rust-31a508e1185713c6e570bb963dd3e097a228957c.zip
Allow proc_macro functions to whitelist specific attributes
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.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions