Incorrect dereferencing suggestion when using init shorthand #52965
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
C-bug
Category: This is a bug.
The following suggestion is incorrect:
As the code is using the init shorthand syntax to create the
Function
variant, the suggestion should instead be:The text was updated successfully, but these errors were encountered: