Error message contains $crate
instead of crate name
#85244
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Since #82069 was merged, the 'this error originates in macro
<name>
) messages sometimes contain$crate
, instead of the actual crate name.For example:
rust/src/test/ui/bound-suggestions.stderr
Line 8 in 9daf546
We should resolve these
$crate
identifiers to the actual crate name before displaying them to the user.cc @cjgillot
The text was updated successfully, but these errors were encountered: