Account for unicode confusables on typoed identifiers#66849
Account for unicode confusables on typoed identifiers#66849estebank wants to merge 1 commit intorust-lang:masterfrom
Conversation
When a name can't be matched to any existing identifier, we look for identifiers that have the same "skeleton" for possible suggestions, instead of relying only on Levenshtein distance.
|
(rust_highfive has picked a reviewer for you, use r? to override) |
|
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
|
Would it make sense to compute the distance over skeletons instead of looking either at the regular distance or the exact skeleton match? |
|
@the8472 that's a good idea. |
|
Tidy fails because the new crates.io dependencies are not whitelisted. |
+1 Also, it looks like it can be an implementation details of |
|
☔ The latest upstream changes (presumably #66997) made this pull request unmergeable. Please resolve the merge conflicts. |
|
Ping from Triage: any updates @estebank? |
|
Ping from Triage: Closing due to inactivity. Please re-open with updates. Thanks! @estebank |
When a name can't be matched to any existing identifier, we look for
identifiers that have the same "skeleton" for possible suggestions,
instead of relying only on Levenshtein distance.
CC #55467