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-08-08 09:27:33 +0000
committerbors <bors@rust-lang.org>2022-08-08 09:27:33 +0000
commit10853f71f2360ee21665c9b481e3be01f35ee902 (patch)
treec630408d0ec6af27a06a62b65606b87c7230d9cb /compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp
parent97a0cf2de2367187c1f9eb9d9f6d333cb8bc8b8f (diff)
parent745b1942925c53156389f3ea731c360e507f71eb (diff)
downloadrust-10853f71f2360ee21665c9b481e3be01f35ee902.tar.gz
rust-10853f71f2360ee21665c9b481e3be01f35ee902.zip
Auto merge of #8694 - Jarcho:check_proc_macro, r=xFrednet
More proc-macro detection

fixes #6514
fixes #8683
fixes #6858
fixes #6594

This is a more general way of checking if an expression comes from a macro and could be trivially applied to other lints. Ideally this would be fixed in rustc's proc-macro api, but I don't see that happening any time soon.

changelog: FPs: [`unit_arg`] [`default_trait_access`] [`missing_docs_in_private_items`]: No longer trigger in code generated from proc-macros.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp')
0 files changed, 0 insertions, 0 deletions