Odd error message with Iterator
trait object
#32627
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Error output is:
Adding
mut
to the trait object type on line 1, and the corresponding borrow on line 9, fixes it. My question is, can the error message be improved?The text was updated successfully, but these errors were encountered: