]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | error[E0308]: mismatched types |
e1599b0c | 2 | --> $DIR/associated-type-projection-from-supertrait.rs:27:23 |
b7449926 | 3 | | |
532ac7d7 | 4 | LL | fn b() { dent(ModelT, Blue); } |
b7449926 | 5 | | ^^^^ expected struct `Black`, found struct `Blue` |
b7449926 XL |
6 | |
7 | error[E0308]: mismatched types | |
e1599b0c | 8 | --> $DIR/associated-type-projection-from-supertrait.rs:28:23 |
b7449926 | 9 | | |
532ac7d7 | 10 | LL | fn c() { dent(ModelU, Black); } |
b7449926 | 11 | | ^^^^^ expected struct `Blue`, found struct `Black` |
b7449926 XL |
12 | |
13 | error[E0308]: mismatched types | |
e1599b0c | 14 | --> $DIR/associated-type-projection-from-supertrait.rs:32:28 |
b7449926 | 15 | | |
532ac7d7 | 16 | LL | fn f() { ModelT.chip_paint(Blue); } |
b7449926 | 17 | | ^^^^ expected struct `Black`, found struct `Blue` |
b7449926 XL |
18 | |
19 | error[E0308]: mismatched types | |
e1599b0c | 20 | --> $DIR/associated-type-projection-from-supertrait.rs:33:28 |
b7449926 | 21 | | |
532ac7d7 | 22 | LL | fn g() { ModelU.chip_paint(Black); } |
b7449926 | 23 | | ^^^^^ expected struct `Blue`, found struct `Black` |
b7449926 XL |
24 | |
25 | error: aborting due to 4 previous errors | |
26 | ||
27 | For more information about this error, try `rustc --explain E0308`. |