Wrong cargo fix
output
#113650
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-bug
Category: This is a bug.
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.
Uh oh!
There was an error while loading. Please reload this page.
I tried this code:
Git repo for reproduction: https://github.com/SDesya74/rustfmt-err
I expected to see this happen: cargo removes
mut
and adds dereference toi
.Instead, this happened:
cargo fix
shows error:Output
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: