Add suggestion to unused_parens lint #42892
Labels
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
I just ran rustfix on https://github.com/space-wizards/bsdiff-rs and noticed that the built-in unused_parens lint has no suggestions.
Suggesting the underlined span without the surrounding parentheses should be enough.
The text was updated successfully, but these errors were encountered: