-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[option_option
]: Fix duplicate diagnostics
#12450
Conversation
The test failed because of |
Yeah, those expansion contexts are sometimes weird. Perhaps the struct was marked but not the fields or something like this. |
I just added |
That raises the question whether to lint this in macros at all. If yes, then I'll gladly merge this. Otherwise we should use |
9408c59
to
a92037f
Compare
Thank you for improving this lint! @bors r+ |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
Relates to #12379
This
option_option
lint change skips checks againstty
s insidefield_def
s defined by external macro to prevent duplicate diagnostics to the same spanty
by multipleStruct
definitions.changelog: [
option_option
]: Fix duplicate diagnostics