Distinguish versions of a crate loaded from the sysroot and from cargo #110055
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-metadata
Area: Crate metadata
D-crate-version-mismatch
Diagnostics: Errors or lints caused be the use of two different crate versions.
D-terse
Diagnostics: An error or lint that doesn't give enough information about the problem at hand.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
Current output
Desired output
Rationale and extra context
It's not clear that "/Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hashbrown-0.12.3/src/map.rs:188:1" is referring to a crate loaded from the sysroot; that path doesn't correspond to anything on disk. It would be nice to explain what's going on; when dealing with sysroots the exact paths of the artifacts often really are important.
Other cases
No response
Anything else?
This is minimized from a real error @aDotInTheVoid saw in rustdoc:
The text was updated successfully, but these errors were encountered: