Inconsistent derivation for type which stores associated type #115181
Labels
A-associated-items
Area: Associated items (types, constants & functions)
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
A-trait-system
Area: Trait system
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried this code:
I expected to see this happen: either both structs cause a compilation error or neither do.
Instead, this happened: the first struct is accepted and the second causes a compilation error:
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: