about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-02-12 13:19:52 +0000
committerbors <bors@rust-lang.org>2024-02-12 13:19:52 +0000
commitb0e7640fd7b2f8b40da520bc25848e7d6a0441e4 (patch)
treed84eb0f4111f7bd3a311d8bf175d463ae288efa6 /compiler/rustc_codegen_llvm/src/errors.rs
parent75f57cf4c2e5be95d8081afdaa5d4d7ff063819e (diff)
parentac7c6e54176a7e7d987b8c5d48716267a964e839 (diff)
downloadrust-b0e7640fd7b2f8b40da520bc25848e7d6a0441e4.tar.gz
rust-b0e7640fd7b2f8b40da520bc25848e7d6a0441e4.zip
Auto merge of #12267 - Jarcho:issue_12254, r=Alexendoo
Don't allow derive macros to silence `disallowed_macros`

fixes #12254

The implementation is a bit of a hack, but "works". A derive expanding to another derive won't work properly, but we shouldn't be linting those anyways.

changelog: `disallowed_macros`: Don't allow derive macros to silence their own expansion
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions