1 error[E0271]: type mismatch resolving `<ModelT as Vehicle>::Color == Blue`
2 --> $DIR/associated-types-binding-to-type-defined-in-supertrait.rs:31:10
4 LL | fn blue_car<C:Car<Color=Blue>>(c: C) {
5 | ---------- required by this bound in `blue_car`
7 LL | fn b() { blue_car(ModelT); }
8 | ^^^^^^^^ expected struct `Blue`, found struct `Black`
10 error[E0271]: type mismatch resolving `<ModelU as Vehicle>::Color == Black`
11 --> $DIR/associated-types-binding-to-type-defined-in-supertrait.rs:32:10
13 LL | fn black_car<C:Car<Color=Black>>(c: C) {
14 | ----------- required by this bound in `black_car`
16 LL | fn c() { black_car(ModelU); }
17 | ^^^^^^^^^ expected struct `Black`, found struct `Blue`
19 error: aborting due to 2 previous errors
21 For more information about this error, try `rustc --explain E0271`.