The manual implementation of Annotation fails for a given type. Since we expect Annotation to be implemented for types that will be derived from nodes, we may fall into this situation.
error[E0119]: conflicting implementations of trait `microkelvin::Annotation<_, _>` for type `MockAnnotation`:
--> src/lib.rs:7:1
|
7 | / impl<C, S> Annotation<C, S> for MockAnnotation
8 | | where
9 | | C: Compound<S>,
10 | | S: Store,
... |
22 | | }
23 | | }
| |_^
|
= note: conflicting implementation in crate `microkelvin`:
- impl<A, C, S> Annotation<C, S> for A
where <C as Compound<S>>::Annotation == A, A: Associative<<C as Compound<S>>::Leaf>, C: Compound<S>, S: Store;
= note: downstream crates may implement trait `microkelvin::Associative<_>` for type `MockAnnotation`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0119`.
The manual implementation of
Annotation
fails for a given type. Since we expect Annotation to be implemented for types that will be derived from nodes, we may fall into this situation.Dependencies:
Code:
Error: