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
24 | | help: consider restricting this bound: `T: std::clone::Clone`
26 LL | type Bar: Clone = Vec<T>;
27 | ^^^^^ the trait `std::clone::Clone` is not implemented for `T`
29 = note: required because of the requirements on the impl of `std::clone::Clone` for `std::vec::Vec<T>`
31 error[E0277]: the trait bound `(): Foo<Self>` is not satisfied
32 --> $DIR/defaults-suitability.rs:41:17
34 LL | trait Bar: Sized {
35 | ---------------- required by `Bar`
36 LL | // `(): Foo<Self>` might hold for some possible impls but not all.
37 LL | type Assoc: Foo<Self> = ();
38 | ^^^^^^^^^ the trait `Foo<Self>` is not implemented for `()`
40 error[E0277]: the trait bound `NotClone: IsU8<NotClone>` is not satisfied
41 --> $DIR/defaults-suitability.rs:61:18
44 LL | | Vec<Self::Assoc>: Clone,
46 LL | | Self::Assoc: IsU8<Self::Assoc>,
47 | | ^^^^^^^^^^^^^^^^^ the trait `IsU8<NotClone>` is not implemented for `NotClone`
49 LL | | type Assoc = NotClone;
53 error[E0277]: the trait bound `bool: IsU8<NotClone>` is not satisfied
54 --> $DIR/defaults-suitability.rs:63:11
57 LL | | Vec<Self::Assoc>: Clone,
59 LL | | Self::Assoc: IsU8<Self::Assoc>,
61 LL | | bool: IsU8<Self::Assoc>,
62 | | ^^^^^^^^^^^^^^^^^ the trait `IsU8<NotClone>` is not implemented for `bool`
64 LL | | type Assoc = NotClone;
68 error[E0277]: the trait bound `NotClone: std::clone::Clone` is not satisfied
69 --> $DIR/defaults-suitability.rs:59:23
72 LL | | Vec<Self::Assoc>: Clone,
73 | | ^^^^^ the trait `std::clone::Clone` is not implemented for `NotClone`
75 LL | | Self::Assoc: IsU8<Self::Assoc>,
77 LL | | type Assoc = NotClone;
81 = note: required because of the requirements on the impl of `std::clone::Clone` for `std::vec::Vec<NotClone>`
83 error[E0277]: the trait bound `<Self as Foo2<T>>::Baz: std::clone::Clone` is not satisfied
84 --> $DIR/defaults-suitability.rs:74:15
87 | -------------- help: consider further restricting the associated type: `where <Self as Foo2<T>>::Baz: std::clone::Clone`
90 LL | type Bar: Clone = Vec<Self::Baz>;
91 | ^^^^^ the trait `std::clone::Clone` is not implemented for `<Self as Foo2<T>>::Baz`
93 = note: required because of the requirements on the impl of `std::clone::Clone` for `std::vec::Vec<<Self as Foo2<T>>::Baz>`
95 error[E0277]: the trait bound `<Self as Foo25<T>>::Baz: std::clone::Clone` is not satisfied
96 --> $DIR/defaults-suitability.rs:83:15
98 LL | trait Foo25<T: Clone> {
99 | ---------------------- help: consider further restricting the associated type: `where <Self as Foo25<T>>::Baz: std::clone::Clone`
101 | required by `Foo25`
102 LL | type Bar: Clone = Vec<Self::Baz>;
103 | ^^^^^ the trait `std::clone::Clone` is not implemented for `<Self as Foo25<T>>::Baz`
105 = note: required because of the requirements on the impl of `std::clone::Clone` for `std::vec::Vec<<Self as Foo25<T>>::Baz>`
107 error[E0277]: the trait bound `T: std::clone::Clone` is not satisfied
108 --> $DIR/defaults-suitability.rs:92:16
110 LL | / trait Foo3<T> where
111 LL | | Self::Bar: Clone,
112 LL | | Self::Baz: Clone,
113 | | ^^^^^ - help: consider further restricting type parameter `T`: `, T: std::clone::Clone`
115 | | the trait `std::clone::Clone` is not implemented for `T`
120 | |_- required by `Foo3`
122 error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
123 --> $DIR/defaults-suitability.rs:29:5
125 LL | type Ty = Vec<[u8]>;
126 | ^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
128 = help: the trait `std::marker::Sized` is not implemented for `[u8]`
129 = note: to learn more, visit <https://doc.rust-lang.org/book/ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait>
130 = note: required by `std::vec::Vec`
132 error: aborting due to 11 previous errors
134 For more information about this error, try `rustc --explain E0277`.