Confusing error message when trait bound is "satisfied" from different version of same crate #73560
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-crate-version-mismatch
Diagnostics: Errors or lints caused be the use of two different crate versions.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Hi!
I was trying to make the following extension to
heapless
in my project:In this case, the compatible type is reexported as
heapless::ArrayLength;
I now understand that my
generic_array::ArrayLength
was from a mismatching version ofgeneric_array
. Regardless, the error message is extremely confusing:The text was updated successfully, but these errors were encountered: