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
INSP: Add unused_labels warning and fix #9375
Conversation
b969d66
to
58adc94
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM except for minor comments
src/main/kotlin/org/rust/ide/inspections/lints/RsUnusedLabelsInspection.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/org/rust/ide/inspections/lints/RsUnusedLabelsInspection.kt
Outdated
Show resolved
Hide resolved
src/test/kotlin/org/rust/ide/inspections/lints/RsUnusedLabelsInspectionTest.kt
Outdated
Show resolved
Hide resolved
58adc94
to
e177a5f
Compare
09012b7
to
4d13196
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bors r+
Build succeeded: |
Hi! |
Depends on #9374 ("RES: Fix nested labels shadowing")
Part of #5888 ("Compiler lints support")
changelog: Add labels inspection and quick-fixes for it