New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't allow derive macros to silence disallowed_macros
#12267
Conversation
r? @Alexendoo rustbot has assigned @Alexendoo. Use r? to explicitly pick a reviewer |
Nice, would let people apply @bors r+ |
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
💔 Test failed - checks-action_test |
@bors retry |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
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