]> git.proxmox.com Git - rustc.git/blobdiff - 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
index 4ba4925ef1b378c8dd91d9c648c34096c6a029e6..07f207627f4df2faadd79986c7a2d292c9b03446 100644 (file)
@@ -3,36 +3,24 @@ error[E0308]: mismatched types
    |
 LL | fn b() { dent(ModelT, Blue); }
    |                       ^^^^ expected struct `Black`, found struct `Blue`
-   |
-   = note: expected type `Black`
-              found type `Blue`
 
 error[E0308]: mismatched types
   --> $DIR/associated-type-projection-from-supertrait.rs:28:23
    |
 LL | fn c() { dent(ModelU, Black); }
    |                       ^^^^^ expected struct `Blue`, found struct `Black`
-   |
-   = note: expected type `Blue`
-              found type `Black`
 
 error[E0308]: mismatched types
   --> $DIR/associated-type-projection-from-supertrait.rs:32:28
    |
 LL | fn f() { ModelT.chip_paint(Blue); }
    |                            ^^^^ expected struct `Black`, found struct `Blue`
-   |
-   = note: expected type `Black`
-              found type `Blue`
 
 error[E0308]: mismatched types
   --> $DIR/associated-type-projection-from-supertrait.rs:33:28
    |
 LL | fn g() { ModelU.chip_paint(Black); }
    |                            ^^^^^ expected struct `Blue`, found struct `Black`
-   |
-   = note: expected type `Blue`
-              found type `Black`
 
 error: aborting due to 4 previous errors