1 error[E0221]: ambiguous associated type `Color` in bounds of `C`
2 --> $DIR/associated-type-projection-from-multiple-supertraits.rs:19:32
5 | ----------- ambiguous `Color` from `Vehicle`
8 | ----------- ambiguous `Color` from `Box`
10 LL | fn dent<C:BoxCar>(c: C, color: C::Color) {
11 | ^^^^^^^^ ambiguous associated type `Color`
13 error[E0221]: ambiguous associated type `Color` in bounds of `BoxCar`
14 --> $DIR/associated-type-projection-from-multiple-supertraits.rs:23:37
17 | ----------- ambiguous `Color` from `Vehicle`
20 | ----------- ambiguous `Color` from `Box`
22 LL | fn dent_object<COLOR>(c: dyn BoxCar<Color=COLOR>) {
23 | ^^^^^^^^^^^ ambiguous associated type `Color`
25 error[E0191]: the value of the associated type `Color` (from the trait `Vehicle`) must be specified
26 --> $DIR/associated-type-projection-from-multiple-supertraits.rs:23:26
29 | ----------- `Color` defined here
31 LL | fn dent_object<COLOR>(c: dyn BoxCar<Color=COLOR>) {
32 | ^^^^^^^^^^^^^^^^^^^^^^^ associated type `Color` must be specified
34 error[E0221]: ambiguous associated type `Color` in bounds of `C`
35 --> $DIR/associated-type-projection-from-multiple-supertraits.rs:28:29
38 | ----------- ambiguous `Color` from `Vehicle`
41 | ----------- ambiguous `Color` from `Box`
43 LL | fn paint<C:BoxCar>(c: C, d: C::Color) {
44 | ^^^^^^^^ ambiguous associated type `Color`
46 error: aborting due to 4 previous errors
48 Some errors have detailed explanations: E0191, E0221.
49 For more information about an error, try `rustc --explain E0191`.