Confusing error message: "can't qualify macro invocation with pub
" when struct
keyword missing
#55403
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
The program:
elicits the confusing error message:
Similar issues have been filed before (#40006 and #38911, at least), and were not closed with an indication that the problem wasn't expected to be fixed, so I'm going ahead and filing this. This specific case was mentioned in a comment by @fschutt.
The text was updated successfully, but these errors were encountered: