diff --git a/README.md b/README.md new file mode 100644 index 0000000..92013a8 --- /dev/null +++ b/README.md @@ -0,0 +1,8 @@ +error[E0161]: cannot move a value of type `dyn Module` + --> src/modules/mod.rs:83:19 + | +83 | let res = cmd.run(); + | ^^^^^^^^^ the size of `dyn Module` cannot be statically determined + +For more information about this error, try `rustc --explain E0161`. +error: could not compile `rustible` due to previous error diff --git a/src/modules/mod.rs b/src/modules/mod.rs index d11880a..825262c 100644 --- a/src/modules/mod.rs +++ b/src/modules/mod.rs @@ -116,7 +116,7 @@ pub trait ModuleSetup { /// A Module takes some arguments which can be serialized back to the playbook run, and can be run to produce /// a certain result. -pub trait Module: Sized { +pub trait Module { /// Return the module name as string slice fn module_name(&self) -> &'static str;