"did you mean" typo suggestion improvement #46332
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
WG-diagnostics
Working group: Diagnostics
"did you mean" should first try to find the name with different capitalization. A case I just found
There's a
ty::TyUint
, which confused me for a few seconds until I noticed the i->I typo and the suggestion hindered instead of helping.The text was updated successfully, but these errors were encountered: