Poor labels for anonymous lifetimes in diagnostics #43288
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-lifetimes
Area: Lifetimes / regions
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
Given this (incorrect) code:
rustc reports:
The
lifetime #1
notation is not very clear or helpful. Assuming it's referring to the lifetimes of the reference parameters, it would be better if it gave them names and used those, along the lines of:The text was updated successfully, but these errors were encountered: