1 error[E0277]: the trait bound `NotClone: Clone` is not satisfied
2 --> $DIR/defaults-suitability.rs:13:5
4 LL | type Ty: Clone = NotClone;
5 | ^^^^^^^^^-----^^^^^^^^^^^^
7 | | required by this bound in `Tr::Ty`
8 | the trait `Clone` is not implemented for `NotClone`
10 error[E0277]: the trait bound `NotClone: Clone` is not satisfied
11 --> $DIR/defaults-suitability.rs:22:5
14 | ----- required by this bound in `Tr2::Ty`
16 LL | type Ty = NotClone;
19 | | required by a bound in this
20 | the trait `Clone` is not implemented for `NotClone`
22 error[E0277]: the trait bound `T: Clone` is not satisfied
23 --> $DIR/defaults-suitability.rs:28:5
25 LL | type Bar: Clone = Vec<T>;
26 | ^^^^^^^^^^-----^^^^^^^^^^
28 | | required by this bound in `Foo::Bar`
29 | the trait `Clone` is not implemented for `T`
31 = note: required because of the requirements on the impl of `Clone` for `Vec<T>`
32 help: consider restricting type parameter `T`
34 LL | trait Foo<T: Clone> {
37 error[E0277]: the trait bound `(): Foo<Self>` is not satisfied
38 --> $DIR/defaults-suitability.rs:34:5
40 LL | type Assoc: Foo<Self> = ();
41 | ^^^^^^^^^^^^---------^^^^^^
43 | | required by this bound in `Bar::Assoc`
44 | the trait `Foo<Self>` is not implemented for `()`
46 error[E0277]: the trait bound `NotClone: IsU8<NotClone>` is not satisfied
47 --> $DIR/defaults-suitability.rs:56:5
49 LL | Self::Assoc: IsU8<Self::Assoc>,
50 | ----------------- required by this bound in `D::Assoc`
52 LL | type Assoc = NotClone;
53 | ^^^^^-----^^^^^^^^^^^^
55 | | required by a bound in this
56 | the trait `IsU8<NotClone>` is not implemented for `NotClone`
58 error[E0277]: the trait bound `<Self as Foo2<T>>::Baz: Clone` is not satisfied
59 --> $DIR/defaults-suitability.rs:65:5
61 LL | type Bar: Clone = Vec<Self::Baz>;
62 | ^^^^^^^^^^-----^^^^^^^^^^^^^^^^^^
64 | | required by this bound in `Foo2::Bar`
65 | the trait `Clone` is not implemented for `<Self as Foo2<T>>::Baz`
67 = note: required because of the requirements on the impl of `Clone` for `Vec<<Self as Foo2<T>>::Baz>`
68 help: consider further restricting the associated type
70 LL | trait Foo2<T> where <Self as Foo2<T>>::Baz: Clone {
71 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
73 error[E0277]: the trait bound `<Self as Foo25<T>>::Baz: Clone` is not satisfied
74 --> $DIR/defaults-suitability.rs:74:5
76 LL | type Bar: Clone = Vec<Self::Baz>;
77 | ^^^^^^^^^^-----^^^^^^^^^^^^^^^^^^
79 | | required by this bound in `Foo25::Bar`
80 | the trait `Clone` is not implemented for `<Self as Foo25<T>>::Baz`
82 = note: required because of the requirements on the impl of `Clone` for `Vec<<Self as Foo25<T>>::Baz>`
83 help: consider further restricting the associated type
85 LL | trait Foo25<T: Clone> where <Self as Foo25<T>>::Baz: Clone {
86 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
88 error[E0277]: the trait bound `T: Clone` is not satisfied
89 --> $DIR/defaults-suitability.rs:87:5
91 LL | Self::Baz: Clone,
92 | ----- required by this bound in `Foo3::Baz`
97 | | required by a bound in this
98 | the trait `Clone` is not implemented for `T`
100 help: consider further restricting type parameter `T`
102 LL | Self::Baz: Clone, T: Clone
105 error: aborting due to 8 previous errors
107 For more information about this error, try `rustc --explain E0277`.