Use last-use to provide "fixit" hints #3755
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
Milestone
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.
The text was updated successfully, but these errors were encountered: