about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-10-05 14:49:31 +0000
committerbors <bors@rust-lang.org>2022-10-05 14:49:31 +0000
commite687bedac68aaacac7948a26ed13bea5b7f43427 (patch)
tree8cb0c81c1608eb25296f6d7862ccdab93f4e3fd5 /compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp
parent425e1ea73d1e67c38c1d12e160d5fd20b64ffa5d (diff)
parent86c86c37429e95aee45846262bb50239a69be546 (diff)
downloadrust-e687bedac68aaacac7948a26ed13bea5b7f43427.tar.gz
rust-e687bedac68aaacac7948a26ed13bea5b7f43427.zip
Auto merge of #9495 - Alexendoo:disallowed-macros, r=Jarcho
Add `disallowed_macros` lint

Closes #7790
Fixes #9558

`clippy_utils::def_path_res` already resolved macro definitions which is nice, it just needed a tweak to be able to disambiguate e.g. `std::vec` the module & `std::vec` the macro, and `serde::Serialize` the trait & `serde::Serialize` the derive macro

changelog: new lint: [`disallowed_macros`]
changelog: [`disallowed_methods`], [`disallowed_types`]: Fix false negative when a type/fn/macro share the same path
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp')
0 files changed, 0 insertions, 0 deletions