'expected struct cargo_metadata::Package
, found a different struct cargo_metadata::Package
' should note that one is a module and one is a crate
#80255
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
D-confusing
Diagnostics: Confusing error or lint that should be reworked.
D-terse
Diagnostics: An error or lint that doesn't give enough information about the problem at hand.
E-medium
Call for participation: Medium difficulty. Experience needed to fix: Intermediate.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
It's impossible to tell here whether it found the version from the current module,
crate::utils::cargo_metadata
, or the one from the crate,::cargo_metadata
. It would be nice to at least say why they might be different, the same way the compiler warns about two versions of a crate.(I feel like I reported this bug already, but I can't seem to find it.)
The text was updated successfully, but these errors were encountered: