Bad spans in macro error message #52866
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
This code
produces the following error:
So I thought something was wrong with the arguments to the
vec!
macro. But really the problem is that I forgot the;
after that macro. Thankfully someone on IRC knew, I would never have figured that out...Can the error message be improved?
The text was updated successfully, but these errors were encountered: