1 error[E0277]: the trait bound `NotClone: std::clone::Clone` is not satisfied
2 --> $DIR/defaults-suitability.rs:17:14
5 | -------- required by `Tr`
6 LL | type Ty: Clone = NotClone;
7 | ^^^^^ the trait `std::clone::Clone` is not implemented for `NotClone`
9 error[E0277]: the trait bound `NotClone: std::clone::Clone` is not satisfied
10 --> $DIR/defaults-suitability.rs:22:27
12 LL | trait Tr2 where Self::Ty: Clone {
13 | --------------------------^^^^^
15 | | the trait `std::clone::Clone` is not implemented for `NotClone`
18 error[E0277]: the trait bound `T: std::clone::Clone` is not satisfied
19 --> $DIR/defaults-suitability.rs:35:15
22 | ------------ required by `Foo`
23 LL | type Bar: Clone = Vec<T>;
24 | ^^^^^ the trait `std::clone::Clone` is not implemented for `T`
26 = help: consider adding a `where T: std::clone::Clone` bound
27 = note: required because of the requirements on the impl of `std::clone::Clone` for `std::vec::Vec<T>`
29 error[E0277]: the trait bound `(): Foo<Self>` is not satisfied
30 --> $DIR/defaults-suitability.rs:41:17
32 LL | trait Bar: Sized {
33 | ---------------- required by `Bar`
34 LL | // `(): Foo<Self>` might hold for some possible impls but not all.
35 LL | type Assoc: Foo<Self> = ();
36 | ^^^^^^^^^ the trait `Foo<Self>` is not implemented for `()`
38 error[E0277]: the trait bound `NotClone: IsU8<NotClone>` is not satisfied
39 --> $DIR/defaults-suitability.rs:61:18
42 LL | | Vec<Self::Assoc>: Clone,
44 LL | | Self::Assoc: IsU8<Self::Assoc>,
45 | | ^^^^^^^^^^^^^^^^^ the trait `IsU8<NotClone>` is not implemented for `NotClone`
47 LL | | type Assoc = NotClone;
51 error[E0277]: the trait bound `bool: IsU8<NotClone>` is not satisfied
52 --> $DIR/defaults-suitability.rs:63:11
55 LL | | Vec<Self::Assoc>: Clone,
57 LL | | Self::Assoc: IsU8<Self::Assoc>,
59 LL | | bool: IsU8<Self::Assoc>,
60 | | ^^^^^^^^^^^^^^^^^ the trait `IsU8<NotClone>` is not implemented for `bool`
62 LL | | type Assoc = NotClone;
66 error[E0277]: the trait bound `NotClone: std::clone::Clone` is not satisfied
67 --> $DIR/defaults-suitability.rs:59:23
70 LL | | Vec<Self::Assoc>: Clone,
71 | | ^^^^^ the trait `std::clone::Clone` is not implemented for `NotClone`
73 LL | | Self::Assoc: IsU8<Self::Assoc>,
75 LL | | type Assoc = NotClone;
79 = note: required because of the requirements on the impl of `std::clone::Clone` for `std::vec::Vec<NotClone>`
81 error[E0277]: the trait bound `<Self as Foo2<T>>::Baz: std::clone::Clone` is not satisfied
82 --> $DIR/defaults-suitability.rs:74:15
85 | ------------- required by `Foo2`
86 LL | type Bar: Clone = Vec<Self::Baz>;
87 | ^^^^^ the trait `std::clone::Clone` is not implemented for `<Self as Foo2<T>>::Baz`
89 = help: consider adding a `where <Self as Foo2<T>>::Baz: std::clone::Clone` bound
90 = note: required because of the requirements on the impl of `std::clone::Clone` for `std::vec::Vec<<Self as Foo2<T>>::Baz>`
92 error[E0277]: the trait bound `<Self as Foo25<T>>::Baz: std::clone::Clone` is not satisfied
93 --> $DIR/defaults-suitability.rs:83:15
95 LL | trait Foo25<T: Clone> {
96 | --------------------- required by `Foo25`
97 LL | type Bar: Clone = Vec<Self::Baz>;
98 | ^^^^^ the trait `std::clone::Clone` is not implemented for `<Self as Foo25<T>>::Baz`
100 = help: consider adding a `where <Self as Foo25<T>>::Baz: std::clone::Clone` bound
101 = note: required because of the requirements on the impl of `std::clone::Clone` for `std::vec::Vec<<Self as Foo25<T>>::Baz>`
103 error[E0277]: the trait bound `T: std::clone::Clone` is not satisfied
104 --> $DIR/defaults-suitability.rs:92:16
106 LL | / trait Foo3<T> where
107 LL | | Self::Bar: Clone,
108 LL | | Self::Baz: Clone,
109 | | ^^^^^ the trait `std::clone::Clone` is not implemented for `T`
114 | |_- required by `Foo3`
116 = help: consider adding a `where T: std::clone::Clone` bound
118 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
119 --> $DIR/defaults-suitability.rs:29:5
121 LL | type Ty = Vec<[u8]>;
122 | ^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
124 = help: the trait `std::marker::Sized` is not implemented for `[u8]`
125 = note: to learn more, visit <https://doc.rust-lang.org/book/ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait>
126 = note: required by `std::vec::Vec`
128 error: aborting due to 11 previous errors
130 For more information about this error, try `rustc --explain E0277`.