Diagnostic could be more helpful for missing comma when using ..
field initialization copy operator.
#51103
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Maybe it should suggest proper syntax when there are both missing fields and
std::ops::Range
-related error somewhere?The text was updated successfully, but these errors were encountered: