internal: fix salsa-ified crate graph working with lazy project discovery

This commit is contained in:
David Barsky 2025-04-01 12:30:14 -04:00
parent 2261e4e892
commit 9aa99eec60
2 changed files with 23 additions and 31 deletions

View file

@ -208,7 +208,8 @@ impl ExpandErrorKind {
},
None => RenderedExpandError {
message: format!(
"internal error: proc-macro map is missing error entry for crate {def_crate:?}"
"internal error: proc-macro map is missing error entry for crate {:?}",
def_crate
),
error: true,
kind: RenderedExpandError::GENERAL_KIND,