rust/src/librustc/util
bors 86319e473e 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*
2017-05-16 23:27:36 +00:00
..
common.rs put option_try macro def under #[cfg(unix)] 2017-05-16 08:53:02 +02:00
fs.rs Fix race condition in fs::create_dir_all 2017-03-17 20:15:05 -07:00
nodemap.rs Replace FnvHasher use with FxHasher. 2016-11-08 15:14:59 +11:00
ppaux.rs rustc: stop interning CodeExtent, it's small enough. 2017-05-13 17:43:32 +03:00