Associated type defaults are not stable, broken since 0.3.2
drahnr opened this issue · comments
--> /home/bernhard/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libcontainer-0.3.2/src/workload/mod.rs:56:5
|
56 | type Error = ExecutorError;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #29661 <https://github.com/rust-lang/rust/issues/29661> for more information
error[E0191]: the value of the associated type `Error` in `Executor` must be specified
--> /home/bernhard/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libcontainer-0.3.2/src/container/builder.rs:25:34
|
25 | pub(super) executor: Box<dyn Executor>,
| ^^^^^^^^ help: specify the associated type: `Executor<Error = Type>`
|
::: /home/bernhard/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libcontainer-0.3.2/src/workload/mod.rs:56:5
|
56 | type Error = ExecutorError;
| ---------- `Error` defined here
Hey, can you give some more info, like what are your deps, where are you using this, how did you get this error etc? Thanks!