]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/associated-types/associated-types-binding-to-type-defined-in-supertrait.stderr
New upstream version 1.44.1+dfsg1
[rustc.git] / src / test / ui / associated-types / associated-types-binding-to-type-defined-in-supertrait.stderr
index 86e651b53f0b96c4d048e2461e3a2dfaa6743c75..029c923aa7d4a68ead6ea374290e8ee5bc22d154 100644 (file)
@@ -2,7 +2,7 @@ error[E0271]: type mismatch resolving `<ModelT as Vehicle>::Color == Blue`
   --> $DIR/associated-types-binding-to-type-defined-in-supertrait.rs:31:10
    |
 LL | fn blue_car<C:Car<Color=Blue>>(c: C) {
-   |    --------       ---------- required by this bound in `blue_car`
+   |                   ---------- required by this bound in `blue_car`
 ...
 LL | fn b() { blue_car(ModelT); }
    |          ^^^^^^^^ expected struct `Blue`, found struct `Black`
@@ -11,7 +11,7 @@ error[E0271]: type mismatch resolving `<ModelU as Vehicle>::Color == Black`
   --> $DIR/associated-types-binding-to-type-defined-in-supertrait.rs:32:10
    |
 LL | fn black_car<C:Car<Color=Black>>(c: C) {
-   |    ---------       ----------- required by this bound in `black_car`
+   |                    ----------- required by this bound in `black_car`
 ...
 LL | fn c() { black_car(ModelU); }
    |          ^^^^^^^^^ expected struct `Black`, found struct `Blue`