From cb90ce96d256957c15851e3b522bfe0c1f606c11 Mon Sep 17 00:00:00 2001 From: Stephen Chung Date: Mon, 30 Aug 2021 12:12:25 +0800 Subject: [PATCH] Fix codegen test. --- codegen/ui_tests/rhai_mod_non_clonable_return.stderr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/codegen/ui_tests/rhai_mod_non_clonable_return.stderr b/codegen/ui_tests/rhai_mod_non_clonable_return.stderr index 17e1ae0e..122d2b26 100644 --- a/codegen/ui_tests/rhai_mod_non_clonable_return.stderr +++ b/codegen/ui_tests/rhai_mod_non_clonable_return.stderr @@ -5,7 +5,7 @@ error[E0277]: the trait bound `NonClonable: Clone` is not satisfied | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `NonClonable` | note: required by a bound in `rhai::Dynamic::from` - --> $DIR/dynamic.rs:1127:30 + --> $DIR/dynamic.rs:1121:30 | -1127 | pub fn from(mut value: T) -> Self { +1121 | pub fn from(mut value: T) -> Self { | ^^^^^ required by this bound in `rhai::Dynamic::from`