Note when trait bound may be satisfied for a different version of a crate #78552
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-trait-system
Area: Trait system
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.
On the playground, the following code:
currently produces the following error:
Note that
hyper::body::Bytes
is an alias forbytes::Bytes
. We should detect when an unment trait bound's substs match the fully-qualified names of our desired trait bound, and note that multiple versions of the same crate may be in use.The text was updated successfully, but these errors were encountered: