1 error[E0308]: mismatched types
2 --> $DIR/associated-type-projection-from-supertrait.rs:27:23
4 LL | fn b() { dent(ModelT, Blue); }
5 | ---- ^^^^ expected struct `Black`, found struct `Blue`
7 | arguments to this function are incorrect
9 note: function defined here
10 --> $DIR/associated-type-projection-from-supertrait.rs:25:4
12 LL | fn dent<C:Car>(c: C, color: C::Color) { c.chip_paint(color) }
13 | ^^^^ ---------------
15 error[E0308]: mismatched types
16 --> $DIR/associated-type-projection-from-supertrait.rs:28:23
18 LL | fn c() { dent(ModelU, Black); }
19 | ---- ^^^^^ expected struct `Blue`, found struct `Black`
21 | arguments to this function are incorrect
23 note: function defined here
24 --> $DIR/associated-type-projection-from-supertrait.rs:25:4
26 LL | fn dent<C:Car>(c: C, color: C::Color) { c.chip_paint(color) }
27 | ^^^^ ---------------
29 error[E0308]: mismatched types
30 --> $DIR/associated-type-projection-from-supertrait.rs:32:28
32 LL | fn f() { ModelT.chip_paint(Blue); }
33 | ---------- ^^^^ expected struct `Black`, found struct `Blue`
35 | arguments to this function are incorrect
37 note: associated function defined here
38 --> $DIR/associated-type-projection-from-supertrait.rs:12:8
40 LL | fn chip_paint(&self, c: Self::Color) { }
41 | ^^^^^^^^^^ --------------
43 error[E0308]: mismatched types
44 --> $DIR/associated-type-projection-from-supertrait.rs:33:28
46 LL | fn g() { ModelU.chip_paint(Black); }
47 | ---------- ^^^^^ expected struct `Blue`, found struct `Black`
49 | arguments to this function are incorrect
51 note: associated function defined here
52 --> $DIR/associated-type-projection-from-supertrait.rs:12:8
54 LL | fn chip_paint(&self, c: Self::Color) { }
55 | ^^^^^^^^^^ --------------
57 error: aborting due to 4 previous errors
59 For more information about this error, try `rustc --explain E0308`.