Closed
Description
On identifiers that have more than one word, it is relatively common to write them in the wrong order (foo_bar_baz
→ foo_baz_bar
). These are normally not found by Levenshtein distance checks, but we could do a basic "split on _
, sort and join before comparison" so that we could suggest the right identifier.
This issue has been assigned to @cjkenn via this comment.
Metadata
Metadata
Assignees
Labels
Area: Messages for errors, warnings, and lintsArea: Lints (warnings about flaws in source code) such as unused_mut.Area: Suggestions generated by the compiler applied by `cargo fix`Category: An issue proposing an enhancement or a PR with one.Diagnostics: An error or lint that needs small tweaks.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Low priorityRelevant to the compiler team, which will review and decide on the PR/issue.