about summary refs log tree commit diff
path: root/src/test/run-pass/thinlto
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-05-16 23:27:36 +0000
committerbors <bors@rust-lang.org>2017-05-16 23:27:36 +0000
commit86319e473e4aef20d924e8be365400c72a191910 (patch)
treef547ec0ef101c9170d4deee175e3c53adebcd719 /src/test/run-pass/thinlto
parent0f68728fb372ff6b0b543f87ac6776f9d12a4b05 (diff)
parent6dbd706906d922ae5606eb5654dd804095ffc8c8 (diff)
downloadrust-86319e473e4aef20d924e8be365400c72a191910.tar.gz
rust-86319e473e4aef20d924e8be365400c72a191910.zip
Auto merge of #41907 - est31:macro_unused, r=jseyfried
Add lint for unused macros

Addresses parts of #34938, to add a lint for unused macros.

We now output warnings by default when we encounter a macro that we didn't use for expansion.

Issues to be resolved before this PR is ready for merge:

- [x] fix the NodeId issue described above
- [x] remove all unused macros from rustc and the libraries or set `#[allow(unused_macros)]` next to them if they should be kept for some reason. This is needed for successful boostrap and bors to accept the PR. -> #41934
- [x] ~~implement the full extent of #34938, that means the macro match arm checking as well.~~ *let's not do this for now*
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions