Parenthesised part of type mismatch error message sometimes prints back-to-front #11771
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
As the title says, the parenthesised part sometimes prints backwards. At least, I've found one case where it does - when one of the operands is a reference provided by an iterator:
Test code:
Result:
The text was updated successfully, but these errors were encountered: