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