Gives:```rust
error[E0277]: the trait bound A: Cmp<B> is not satisfied
--> src/type_cmp.rs:4:1
|
4 | struct MyStruct<A, B>
| ^^^^^^^^^^^^^^^^^^^^^ the trait Cmp<B> is not implemented for A, which is required by A: IsEqual<B>
|
= note: required for A to implement IsEqual<B>
help: consider further restricting this bound
|
6 | A: ArrayLength + typenum::Cmp<B>,
| +++++++++++++++++
error[E0277]: the trait bound A: Cmp<UInt<UTerm, B1>> is not satisfied
--> src/type_cmp.rs:4:1
|
4 | struct MyStruct<A, B>
| ^^^^^^^^^^^^^^^^^^^^^ the trait Cmp<UInt<UTerm, B1>> is not implemented for A, which is required by A: IsEqual<UInt<UTerm, B1>>
|
= note: required for A to implement IsEqual<UInt<UTerm, B1>>
help: consider further restricting this bound
|
6 | A: ArrayLength + typenum::Cmp<typenum::UInt<typenum::UTerm, typenum::B1>>,
| ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
error[E0277]: the trait bound B: Cmp<UInt<UTerm, B1>> is not satisfied
--> src/type_cmp.rs:4:1
|
4 | struct MyStruct<A, B>
| ^^^^^^^^^^^^^^^^^^^^^ the trait Cmp<UInt<UTerm, B1>> is not implemented for B, which is required by B: IsEqual<UInt<UTerm, B1>>
|
= note: required for B to implement IsEqual<UInt<UTerm, B1>>
help: consider further restricting this bound
|
7 | B: ArrayLength + typenum::Cmp<typenum::UInt<typenum::UTerm, typenum::B1>>,
| ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
...```