From 3984a29d6be96fd70931d5a72f8d3654c97833ee Mon Sep 17 00:00:00 2001 From: Stephen Chung Date: Sun, 2 Jan 2022 21:54:21 +0800 Subject: [PATCH] Fix test output. --- codegen/ui_tests/rhai_fn_non_clonable_return.stderr | 2 +- codegen/ui_tests/rhai_mod_non_clonable_return.stderr | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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`