Compilation error when implementing From
using a concrete associated type from another crate
#109885
Labels
C-bug
Category: This is a bug.
needs-triage-legacy
Old issue that were never triaged. Remove this label once the issue has been sufficiently triaged.
I have the following files from 2 crates:
Currently I have the following error:
I expected that
<dep::S3 as Wrapped>::WrappedType
would be resolved to a single type like<S2 as Wrapped>::WrappedType>
, and that the code would compile.Context
I'm using
dep::S3
andW
as the inputs of a proc-macro, and I would like to generateimpl From<dep::W3> for W
inside the proc-macro, but without mentioningdep::W3
explicitely.Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: