error[E0277]: the trait bound `NotClone: Clone` is not satisfied --> $DIR/defaults-suitability.rs:13:5 | LL | type Ty: Clone = NotClone; | ^^^^^^^^^-----^^^^^^^^^^^^ | | | | | required by this bound in `Tr::Ty` | the trait `Clone` is not implemented for `NotClone` error[E0277]: the trait bound `NotClone: Clone` is not satisfied --> $DIR/defaults-suitability.rs:22:5 | LL | Self::Ty: Clone, | ----- required by this bound in `Tr2::Ty` LL | { LL | type Ty = NotClone; | ^^^^^--^^^^^^^^^^^^ | | | | | required by a bound in this | the trait `Clone` is not implemented for `NotClone` error[E0277]: the trait bound `T: Clone` is not satisfied --> $DIR/defaults-suitability.rs:28:5 | LL | type Bar: Clone = Vec; | ^^^^^^^^^^-----^^^^^^^^^^ | | | | | required by this bound in `Foo::Bar` | the trait `Clone` is not implemented for `T` | = note: required because of the requirements on the impl of `Clone` for `Vec` help: consider restricting type parameter `T` | LL | trait Foo { | ^^^^^^^ error[E0277]: the trait bound `(): Foo` is not satisfied --> $DIR/defaults-suitability.rs:34:5 | LL | type Assoc: Foo = (); | ^^^^^^^^^^^^---------^^^^^^ | | | | | required by this bound in `Bar::Assoc` | the trait `Foo` is not implemented for `()` error[E0277]: the trait bound `NotClone: IsU8` is not satisfied --> $DIR/defaults-suitability.rs:56:5 | LL | Self::Assoc: IsU8, | ----------------- required by this bound in `D::Assoc` ... LL | type Assoc = NotClone; | ^^^^^-----^^^^^^^^^^^^ | | | | | required by a bound in this | the trait `IsU8` is not implemented for `NotClone` error[E0277]: the trait bound `>::Baz: Clone` is not satisfied --> $DIR/defaults-suitability.rs:65:5 | LL | type Bar: Clone = Vec; | ^^^^^^^^^^-----^^^^^^^^^^^^^^^^^^ | | | | | required by this bound in `Foo2::Bar` | the trait `Clone` is not implemented for `>::Baz` | = note: required because of the requirements on the impl of `Clone` for `Vec<>::Baz>` help: consider further restricting the associated type | LL | trait Foo2 where >::Baz: Clone { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0277]: the trait bound `>::Baz: Clone` is not satisfied --> $DIR/defaults-suitability.rs:74:5 | LL | type Bar: Clone = Vec; | ^^^^^^^^^^-----^^^^^^^^^^^^^^^^^^ | | | | | required by this bound in `Foo25::Bar` | the trait `Clone` is not implemented for `>::Baz` | = note: required because of the requirements on the impl of `Clone` for `Vec<>::Baz>` help: consider further restricting the associated type | LL | trait Foo25 where >::Baz: Clone { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0277]: the trait bound `T: Clone` is not satisfied --> $DIR/defaults-suitability.rs:87:5 | LL | Self::Baz: Clone, | ----- required by this bound in `Foo3::Baz` ... LL | type Baz = T; | ^^^^^---^^^^^ | | | | | required by a bound in this | the trait `Clone` is not implemented for `T` | help: consider further restricting type parameter `T` | LL | Self::Baz: Clone, T: Clone | ^^^^^^^^^^ error: aborting due to 8 previous errors For more information about this error, try `rustc --explain E0277`.