Closed
Description
Makes sense, I just would rather we pointed at the ident for the item and not the whole thing.
Originally posted by @estebank in #103111 (comment)
The suggestion was introduced by #103111. The suggestion point to the definition of the suggested item. Pointing to the shadowed identifier would be more precise:
- the ident of the item in case of direct reference;
- the import in case of indirect reference.
Metadata
Metadata
Assignees
Labels
Area: Messages for errors, warnings, and lintsDiagnostics: An error or lint that needs small tweaks.Diagnostics: An error or lint that doesn't give enough information about the problem at hand.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.