cargo fix fails on non_shorthand_field_patterns #66434
Labels
A-lint
Area: Lints (warnings about flaws in source code) such as unused_mut.
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
C-bug
Category: This is a bug.
D-invalid-suggestion
Diagnostics: A structured suggestion resulting in incorrect code.
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code:
cargo fix
output:Note that
inner inner
in the attempted fix is incorrect syntax (it ate a colon).Github helpfully suggests that #65924 might be related.Edit: it probably actually isn't.Version info:
The text was updated successfully, but these errors were encountered: