-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Suggest existing lint name in unknown_lints
lint suggestion
#54737
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
Comments
I would like to work on this, too |
Mark-Simulacrum
added a commit
to Mark-Simulacrum/rust
that referenced
this issue
Dec 21, 2018
…li-obk suggest similar lint names for unknown lints Fixes rust-lang#54737.
pietroalbini
added a commit
to pietroalbini/rust
that referenced
this issue
Dec 21, 2018
…li-obk suggest similar lint names for unknown lints Fixes rust-lang#54737.
Centril
added a commit
to Centril/rust
that referenced
this issue
Dec 22, 2018
…li-obk suggest similar lint names for unknown lints Fixes rust-lang#54737.
kennytm
added a commit
to kennytm/rust
that referenced
this issue
Dec 22, 2018
…li-obk suggest similar lint names for unknown lints Fixes rust-lang#54737.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It would be nice if the
unknown_lints
lint could suggest the correct lint name if a minor typo has been made.For example using
#![warn(dead_cod)
should suggestdead_code
.Current output:
Expected output:
The text was updated successfully, but these errors were encountered: