1 error: equality constraints are not yet supported in `where` clauses
2 --> $DIR/associated-type-projection-from-multiple-supertraits.rs:32:46
4 LL | fn dent_object_2<COLOR>(c: dyn BoxCar) where <dyn BoxCar as Vehicle>::Color = COLOR {
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not supported
7 = note: see issue #20041 <https://github.com/rust-lang/rust/issues/20041> for more information
9 error[E0221]: ambiguous associated type `Color` in bounds of `C`
10 --> $DIR/associated-type-projection-from-multiple-supertraits.rs:19:32
13 | ----------- ambiguous `Color` from `Vehicle`
16 | ----------- ambiguous `Color` from `Box`
18 LL | fn dent<C:BoxCar>(c: C, color: C::Color) {
19 | ^^^^^^^^ ambiguous associated type `Color`
21 help: use fully qualified syntax to disambiguate
23 LL | fn dent<C:BoxCar>(c: C, color: <C as Vehicle>::Color) {
25 help: use fully qualified syntax to disambiguate
27 LL | fn dent<C:BoxCar>(c: C, color: <C as Box>::Color) {
30 error[E0222]: ambiguous associated type `Color` in bounds of `BoxCar`
31 --> $DIR/associated-type-projection-from-multiple-supertraits.rs:23:37
34 | ----------- ambiguous `Color` from `Vehicle`
37 | ----------- ambiguous `Color` from `Box`
39 LL | fn dent_object<COLOR>(c: dyn BoxCar<Color=COLOR>) {
40 | ^^^^^^^^^^^ ambiguous associated type `Color`
42 = help: consider introducing a new type parameter `T` and adding `where` constraints:
45 T: Vehicle::Color = COLOR,
48 error[E0191]: the value of the associated types `Color` (from trait `Box`), `Color` (from trait `Vehicle`) must be specified
49 --> $DIR/associated-type-projection-from-multiple-supertraits.rs:23:30
52 | ----------- `Vehicle::Color` defined here
55 | ----------- `Box::Color` defined here
57 LL | fn dent_object<COLOR>(c: dyn BoxCar<Color=COLOR>) {
58 | ^^^^^^^^^^^^^^^^^^^ associated types `Color` (from trait `Vehicle`), `Color` (from trait `Box`) must be specified
60 = help: consider introducing a new type parameter, adding `where` constraints using the fully-qualified path to the associated types
62 error[E0221]: ambiguous associated type `Color` in bounds of `C`
63 --> $DIR/associated-type-projection-from-multiple-supertraits.rs:28:29
66 | ----------- ambiguous `Color` from `Vehicle`
69 | ----------- ambiguous `Color` from `Box`
71 LL | fn paint<C:BoxCar>(c: C, d: C::Color) {
72 | ^^^^^^^^ ambiguous associated type `Color`
74 help: use fully qualified syntax to disambiguate
76 LL | fn paint<C:BoxCar>(c: C, d: <C as Vehicle>::Color) {
78 help: use fully qualified syntax to disambiguate
80 LL | fn paint<C:BoxCar>(c: C, d: <C as Box>::Color) {
83 error[E0191]: the value of the associated types `Color` (from trait `Box`), `Color` (from trait `Vehicle`) must be specified
84 --> $DIR/associated-type-projection-from-multiple-supertraits.rs:32:32
87 | ----------- `Vehicle::Color` defined here
90 | ----------- `Box::Color` defined here
92 LL | fn dent_object_2<COLOR>(c: dyn BoxCar) where <dyn BoxCar as Vehicle>::Color = COLOR {
93 | ^^^^^^ associated types `Color` (from trait `Vehicle`), `Color` (from trait `Box`) must be specified
95 = help: consider introducing a new type parameter, adding `where` constraints using the fully-qualified path to the associated types
97 error: aborting due to 6 previous errors
99 Some errors have detailed explanations: E0191, E0221, E0222.
100 For more information about an error, try `rustc --explain E0191`.