Wrong Error Message for coercing an anonymous tuple to a struct #20752
Labels
error message
This issue points out an error message that is unhelpful and should be improved.
Milestone
Zig Version
0.12.0
Steps to Reproduce and Observed Behavior
This produces the following error:
This is of course the wrong error.
Expected Behavior
The correct error should be something like this (syntax changed to induce the proper error):
The text was updated successfully, but these errors were encountered: