Error message blames wrong line #66923
Labels
A-collections
Area: `std::collection`
A-diagnostics
Area: Messages for errors, warnings, and lints
A-iterators
Area: Iterators
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
The code below blames the last line for the error where in fact error is in the previous one.
The error message makes no sense because
x4
type is specified explicitly and no iterator is present anymore.The text was updated successfully, but these errors were encountered: