Invalid suggestion on anonymous lifetime parameter in precise capturing list if there are no input lifetimes #134194
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
D-invalid-suggestion
Diagnostics: A structured suggestion resulting in incorrect code.
D-verbose
Diagnostics: Too much output caused by a single piece of incorrect code.
F-precise_capturing
`#![feature(precise_capturing)]`
P-low
Low priority
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Reproducer:
Current output:
Expected:
use<'static>
which is invalidThe text was updated successfully, but these errors were encountered: