11error[E0277]: the trait bound `NotClone: Clone` is not satisfied
2- --> $DIR/defaults-suitability.rs:13 :22
2+ --> $DIR/defaults-suitability.rs:16 :22
33 |
44LL | type Ty: Clone = NotClone;
55 | ^^^^^^^^ the trait `Clone` is not implemented for `NotClone`
66 |
77note: required by a bound in `Tr::Ty`
8- --> $DIR/defaults-suitability.rs:13 :14
8+ --> $DIR/defaults-suitability.rs:16 :14
99 |
1010LL | type Ty: Clone = NotClone;
1111 | ^^^^^ required by this bound in `Tr::Ty`
@@ -16,13 +16,13 @@ LL | struct NotClone;
1616 |
1717
1818error[E0277]: the trait bound `NotClone: Clone` is not satisfied
19- --> $DIR/defaults-suitability.rs:22 :15
19+ --> $DIR/defaults-suitability.rs:25 :15
2020 |
2121LL | type Ty = NotClone;
2222 | ^^^^^^^^ the trait `Clone` is not implemented for `NotClone`
2323 |
2424note: required by a bound in `Tr2::Ty`
25- --> $DIR/defaults-suitability.rs:20 :15
25+ --> $DIR/defaults-suitability.rs:23 :15
2626 |
2727LL | Self::Ty: Clone,
2828 | ^^^^^ required by this bound in `Tr2::Ty`
@@ -36,14 +36,14 @@ LL | struct NotClone;
3636 |
3737
3838error[E0277]: the trait bound `T: Clone` is not satisfied
39- --> $DIR/defaults-suitability.rs:28 :23
39+ --> $DIR/defaults-suitability.rs:31 :23
4040 |
4141LL | type Bar: Clone = Vec<T>;
4242 | ^^^^^^ the trait `Clone` is not implemented for `T`, which is required by `Vec<T>: Clone`
4343 |
4444 = note: required for `Vec<T>` to implement `Clone`
4545note: required by a bound in `Foo::Bar`
46- --> $DIR/defaults-suitability.rs:28 :15
46+ --> $DIR/defaults-suitability.rs:31 :15
4747 |
4848LL | type Bar: Clone = Vec<T>;
4949 | ^^^^^ required by this bound in `Foo::Bar`
@@ -53,30 +53,30 @@ LL | trait Foo<T: std::clone::Clone> {
5353 | +++++++++++++++++++
5454
5555error[E0277]: the trait bound `(): Foo<Self>` is not satisfied
56- --> $DIR/defaults-suitability.rs:34 :29
56+ --> $DIR/defaults-suitability.rs:37 :29
5757 |
5858LL | type Assoc: Foo<Self> = ();
5959 | ^^ the trait `Foo<Self>` is not implemented for `()`
6060 |
6161help: this trait has no implementations, consider adding one
62- --> $DIR/defaults-suitability.rs:27 :1
62+ --> $DIR/defaults-suitability.rs:30 :1
6363 |
6464LL | trait Foo<T> {
6565 | ^^^^^^^^^^^^
6666note: required by a bound in `Bar::Assoc`
67- --> $DIR/defaults-suitability.rs:34 :17
67+ --> $DIR/defaults-suitability.rs:37 :17
6868 |
6969LL | type Assoc: Foo<Self> = ();
7070 | ^^^^^^^^^ required by this bound in `Bar::Assoc`
7171
7272error[E0277]: the trait bound `NotClone: IsU8<NotClone>` is not satisfied
73- --> $DIR/defaults-suitability.rs:56 :18
73+ --> $DIR/defaults-suitability.rs:59 :18
7474 |
7575LL | type Assoc = NotClone;
7676 | ^^^^^^^^ the trait `IsU8<NotClone>` is not implemented for `NotClone`
7777 |
7878note: required by a bound in `D::Assoc`
79- --> $DIR/defaults-suitability.rs:53 :18
79+ --> $DIR/defaults-suitability.rs:56 :18
8080 |
8181LL | Self::Assoc: IsU8<Self::Assoc>,
8282 | ^^^^^^^^^^^^^^^^^ required by this bound in `D::Assoc`
@@ -85,14 +85,14 @@ LL | type Assoc = NotClone;
8585 | ----- required by a bound in this associated type
8686
8787error[E0277]: the trait bound `<Self as Foo2<T>>::Baz: Clone` is not satisfied
88- --> $DIR/defaults-suitability.rs:65 :23
88+ --> $DIR/defaults-suitability.rs:68 :23
8989 |
9090LL | type Bar: Clone = Vec<Self::Baz>;
9191 | ^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `<Self as Foo2<T>>::Baz`, which is required by `Vec<<Self as Foo2<T>>::Baz>: Clone`
9292 |
9393 = note: required for `Vec<<Self as Foo2<T>>::Baz>` to implement `Clone`
9494note: required by a bound in `Foo2::Bar`
95- --> $DIR/defaults-suitability.rs:65 :15
95+ --> $DIR/defaults-suitability.rs:68 :15
9696 |
9797LL | type Bar: Clone = Vec<Self::Baz>;
9898 | ^^^^^ required by this bound in `Foo2::Bar`
@@ -102,14 +102,14 @@ LL | trait Foo2<T> where <Self as Foo2<T>>::Baz: Clone {
102102 | +++++++++++++++++++++++++++++++++++
103103
104104error[E0277]: the trait bound `<Self as Foo25<T>>::Baz: Clone` is not satisfied
105- --> $DIR/defaults-suitability.rs:74 :23
105+ --> $DIR/defaults-suitability.rs:77 :23
106106 |
107107LL | type Bar: Clone = Vec<Self::Baz>;
108108 | ^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `<Self as Foo25<T>>::Baz`, which is required by `Vec<<Self as Foo25<T>>::Baz>: Clone`
109109 |
110110 = note: required for `Vec<<Self as Foo25<T>>::Baz>` to implement `Clone`
111111note: required by a bound in `Foo25::Bar`
112- --> $DIR/defaults-suitability.rs:74 :15
112+ --> $DIR/defaults-suitability.rs:77 :15
113113 |
114114LL | type Bar: Clone = Vec<Self::Baz>;
115115 | ^^^^^ required by this bound in `Foo25::Bar`
@@ -119,13 +119,13 @@ LL | trait Foo25<T: Clone> where <Self as Foo25<T>>::Baz: Clone {
119119 | ++++++++++++++++++++++++++++++++++++
120120
121121error[E0277]: the trait bound `T: Clone` is not satisfied
122- --> $DIR/defaults-suitability.rs:87 :16
122+ --> $DIR/defaults-suitability.rs:90 :16
123123 |
124124LL | type Baz = T;
125125 | ^ the trait `Clone` is not implemented for `T`
126126 |
127127note: required by a bound in `Foo3::Baz`
128- --> $DIR/defaults-suitability.rs:84 :16
128+ --> $DIR/defaults-suitability.rs:87 :16
129129 |
130130LL | Self::Baz: Clone,
131131 | ^^^^^ required by this bound in `Foo3::Baz`
0 commit comments