Should link to improved long-form error for nonlexical borrows #25913
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.
Our current message, "help: consider using a
let
binding to increase its lifetime," doesn't have a long-form version indicating that there are future plans for it to be fixed (e.g. by linking the non-lexical borrows issue, rust-lang/rfcs#811). I believe this would be warranted given the frequency with which people encounter this error and the fact that the given solution is correct often enough to warrant that message in the first place.The text was updated successfully, but these errors were encountered: