Weird error message for missing symbol if module name is the same as a macro #40788
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
A-resolve
Area: Path resolution
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
The weird thing is "expected function, found macro".
format::foobar
doesn't look like a macro. This also happens without the submodulesub
(i.e. with an empty moduleformat
), the only difference is that no other candidate is suggested.The text was updated successfully, but these errors were encountered: