]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/associated-types/associated-type-projection-ambig-between-bound-and-where-clause.stderr
Rollup merge of #105567 - TimNN:kcfi16, r=nikic
[rust.git] / src / test / ui / associated-types / associated-type-projection-ambig-between-bound-and-where-clause.stderr
index 19fc2f652c6be1907ee73b5ae7f6ea9cab45d205..236552baf9287b82e9ebf7f7821c024143870fea 100644 (file)
@@ -2,10 +2,10 @@ error[E0221]: ambiguous associated type `Color` in bounds of `C`
   --> $DIR/associated-type-projection-ambig-between-bound-and-where-clause.rs:16:24
    |
 LL |     type Color;
-   |     ----------- ambiguous `Color` from `Vehicle`
+   |     ---------- ambiguous `Color` from `Vehicle`
 ...
 LL |     type Color;
-   |     ----------- ambiguous `Color` from `Box`
+   |     ---------- ambiguous `Color` from `Box`
 ...
 LL | fn a<C:Vehicle+Box>(_: C::Color) {
    |                        ^^^^^^^^ ambiguous associated type `Color`
@@ -23,10 +23,10 @@ error[E0221]: ambiguous associated type `Color` in bounds of `C`
   --> $DIR/associated-type-projection-ambig-between-bound-and-where-clause.rs:20:12
    |
 LL |     type Color;
-   |     ----------- ambiguous `Color` from `Vehicle`
+   |     ---------- ambiguous `Color` from `Vehicle`
 ...
 LL |     type Color;
-   |     ----------- ambiguous `Color` from `Box`
+   |     ---------- ambiguous `Color` from `Box`
 ...
 LL | fn b<C>(_: C::Color) where C : Vehicle+Box {
    |            ^^^^^^^^ ambiguous associated type `Color`
@@ -44,10 +44,10 @@ error[E0221]: ambiguous associated type `Color` in bounds of `C`
   --> $DIR/associated-type-projection-ambig-between-bound-and-where-clause.rs:24:12
    |
 LL |     type Color;
-   |     ----------- ambiguous `Color` from `Vehicle`
+   |     ---------- ambiguous `Color` from `Vehicle`
 ...
 LL |     type Color;
-   |     ----------- ambiguous `Color` from `Box`
+   |     ---------- ambiguous `Color` from `Box`
 ...
 LL | fn c<C>(_: C::Color) where C : Vehicle, C : Box {
    |            ^^^^^^^^ ambiguous associated type `Color`
@@ -65,10 +65,10 @@ error[E0221]: ambiguous associated type `Color` in bounds of `X`
   --> $DIR/associated-type-projection-ambig-between-bound-and-where-clause.rs:35:20
    |
 LL |     type Color;
-   |     ----------- ambiguous `Color` from `Vehicle`
+   |     ---------- ambiguous `Color` from `Vehicle`
 ...
 LL |     type Color;
-   |     ----------- ambiguous `Color` from `Box`
+   |     ---------- ambiguous `Color` from `Box`
 ...
 LL |     fn e(&self, _: X::Color) where X : Box;
    |                    ^^^^^^^^ ambiguous associated type `Color`
@@ -86,10 +86,10 @@ error[E0221]: ambiguous associated type `Color` in bounds of `X`
   --> $DIR/associated-type-projection-ambig-between-bound-and-where-clause.rs:38:20
    |
 LL |     type Color;
-   |     ----------- ambiguous `Color` from `Vehicle`
+   |     ---------- ambiguous `Color` from `Vehicle`
 ...
 LL |     type Color;
-   |     ----------- ambiguous `Color` from `Box`
+   |     ---------- ambiguous `Color` from `Box`
 ...
 LL |     fn f(&self, _: X::Color) where X : Box { }
    |                    ^^^^^^^^ ambiguous associated type `Color`
@@ -107,10 +107,10 @@ error[E0221]: ambiguous associated type `Color` in bounds of `X`
   --> $DIR/associated-type-projection-ambig-between-bound-and-where-clause.rs:30:20
    |
 LL |     type Color;
-   |     ----------- ambiguous `Color` from `Vehicle`
+   |     ---------- ambiguous `Color` from `Vehicle`
 ...
 LL |     type Color;
-   |     ----------- ambiguous `Color` from `Box`
+   |     ---------- ambiguous `Color` from `Box`
 ...
 LL |     fn d(&self, _: X::Color) where X : Box { }
    |                    ^^^^^^^^ ambiguous associated type `Color`