error[E0277]: the trait bound `NonClonable: Clone` is not satisfied --> ui_tests/non_clonable.rs:11:23 | 10 | #[export_fn] | ------------ in this procedural macro expansion 11 | pub fn test_fn(input: NonClonable) -> bool { | ^^^^^^^^^^^ the trait `Clone` is not implemented for `NonClonable` | note: required by a bound in `rhai::Dynamic::cast` --> $WORKSPACE/src/types/dynamic.rs | | pub fn cast(self) -> T { | ^^^^^ required by this bound in `rhai::Dynamic::cast` = note: this error originates in the attribute macro `export_fn` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider annotating `NonClonable` with `#[derive(Clone)]` | 3 | #[derive(Clone)] |