-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Liveness lints should consider statement attributes #30326
Comments
The issue is that built-in lints are emitted by storing lint messages in a map keyed by some This issue has existed before, since lint attributes on match arms are ignored as well. Fixing this either requires some tuning of the |
I also had a look at this issue and I thought it could be solved by extending |
@fhahn You'd have to traverse parent blocks, since lint attributes could be defined on them, but then it could work. But at that point you'd be duplicating a lot of the logic of the lint contexts. |
This appears to have been fixed as of |
I would expect to see no warnings.
The text was updated successfully, but these errors were encountered: