Improve suggestion for field initializer on tuple struct #99885
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.
Given
The output contains this suggestion, among others
Both the initial error message and the recommendation are confusing. Ideally we should recommend removing
0:
since tuple structs do not use field initializers.The text was updated successfully, but these errors were encountered: