Suggestion to "surround the struct literal in parentheses" sometimes places the opening parenthesis after the module name #112278
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
Current output
Desired output
Rationale and extra context
No response
Other cases
No response
Anything else?
This defect is reproducible with (at least) 1.68, 1.69, beta, and nightly.
Furthermore, I think it would be good to reword the message to suggest surrounding with parentheses.
The text was updated successfully, but these errors were encountered: