-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Use last-use to provide "fixit" hints #3755
Copy link
Copy link
Closed
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.
Milestone
Metadata
Metadata
Assignees
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Now that last-use is gone, it would be good to use it to provide feedback in error messages. I can imagine two ways to do this:
Of course, if we end up doing @nikomatsakis 's "move or copy based on type" idea, both of these points will be moot.
This was part of #2633, but I wanted to close #2633.