Poor suggestion of alternative function when a name is incorrect #109291
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
Current output
Desired output
It would be better to suggest
force_capture
rather thancapture
, as that was the function I was looking for.Rationale and extra context
No response
Other cases
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: