"Could not find <module> in <module>" uses wrong span when {...} are involved #43040
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-tracking-issue
Category: A tracking issue for an RFC or an unstable feature.
The following program: (Playpen)
Produces these errors:
Notice how the
^
put the blame on the part inside the curly brace, where really, they should point at thebar
(or at the entirestd::...
, which is what happens when no curly braces are involved).The text was updated successfully, but these errors were encountered: