Error code E0271
A type mismatched an associated type of a trait.
Erroneous code example:
ⓘ
The issue can be resolved by changing the associated type:
- in the
foo
implementation:
- in the
Trait
implementation fori8
:
A type mismatched an associated type of a trait.
Erroneous code example:
ⓘ
The issue can be resolved by changing the associated type:
foo
implementation:
Trait
implementation for i8
: