diff --git a/codegen/ui_tests/rhai_fn_non_clonable_return.stderr b/codegen/ui_tests/rhai_fn_non_clonable_return.stderr index ba165394..9d946726 100644 --- a/codegen/ui_tests/rhai_fn_non_clonable_return.stderr +++ b/codegen/ui_tests/rhai_fn_non_clonable_return.stderr @@ -10,5 +10,5 @@ error[E0277]: the trait bound `NonClonable: Clone` is not satisfied note: required by a bound in `rhai::Dynamic::from` --> $WORKSPACE/src/types/dynamic.rs | - | pub fn from(mut value: T) -> Self { + | pub fn from(value: T) -> Self { | ^^^^^ required by this bound in `rhai::Dynamic::from` diff --git a/codegen/ui_tests/rhai_mod_non_clonable_return.stderr b/codegen/ui_tests/rhai_mod_non_clonable_return.stderr index 8cd59893..1d664c65 100644 --- a/codegen/ui_tests/rhai_mod_non_clonable_return.stderr +++ b/codegen/ui_tests/rhai_mod_non_clonable_return.stderr @@ -10,5 +10,5 @@ error[E0277]: the trait bound `NonClonable: Clone` is not satisfied note: required by a bound in `rhai::Dynamic::from` --> $WORKSPACE/src/types/dynamic.rs | - | pub fn from(mut value: T) -> Self { + | pub fn from(value: T) -> Self { | ^^^^^ required by this bound in `rhai::Dynamic::from`