]> git.lizzy.rs Git - rust.git/blob - src/test/ui/associated-types/associated-type-projection-from-supertrait.stderr
Merge commit '54a20a02ecd0e1352a871aa0990bcc8b8b03173e' into clippyup
[rust.git] / src / test / ui / associated-types / associated-type-projection-from-supertrait.stderr
1 error[E0308]: mismatched types
2   --> $DIR/associated-type-projection-from-supertrait.rs:27:23
3    |
4 LL | fn b() { dent(ModelT, Blue); }
5    |                       ^^^^ expected struct `Black`, found struct `Blue`
6
7 error[E0308]: mismatched types
8   --> $DIR/associated-type-projection-from-supertrait.rs:28:23
9    |
10 LL | fn c() { dent(ModelU, Black); }
11    |                       ^^^^^ expected struct `Blue`, found struct `Black`
12
13 error[E0308]: mismatched types
14   --> $DIR/associated-type-projection-from-supertrait.rs:32:28
15    |
16 LL | fn f() { ModelT.chip_paint(Blue); }
17    |                            ^^^^ expected struct `Black`, found struct `Blue`
18
19 error[E0308]: mismatched types
20   --> $DIR/associated-type-projection-from-supertrait.rs:33:28
21    |
22 LL | fn g() { ModelU.chip_paint(Black); }
23    |                            ^^^^^ expected struct `Blue`, found struct `Black`
24
25 error: aborting due to 4 previous errors
26
27 For more information about this error, try `rustc --explain E0308`.