Unhelpful help for E0387 "consider changing this closure to take self by mutable reference" #53905
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
D-invalid-suggestion
Diagnostics: A structured suggestion resulting in incorrect code.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I just got this error message (on current stable, beta, and the nightly mentioned below):
As you can see it suggests to do no change at all:
You can reproduce this by checking out hello-rust/show@d495abe and running
cd episode/9/rust/pascal/; cargo build
.Rust version
The text was updated successfully, but these errors were encountered: