Suggest existing lint name in unknown_lints
lint suggestion
#54737
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
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: