Invalid error help of struct generic param with default value #124785
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.
I tried this code:
I expected to see this happen:
Instead, this happened:
is syntax error
Meta
(rust playground version):
The text was updated successfully, but these errors were encountered: