From b90776911d7ea0f6b17ee37b0b77cb94c7d0e916 Mon Sep 17 00:00:00 2001 From: Stephen Chung Date: Tue, 28 Sep 2021 16:32:31 +0800 Subject: [PATCH] Fix tests output. --- codegen/ui_tests/rhai_fn_non_clonable_return.stderr | 4 ++-- codegen/ui_tests/rhai_mod_non_clonable_return.stderr | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/codegen/ui_tests/rhai_fn_non_clonable_return.stderr b/codegen/ui_tests/rhai_fn_non_clonable_return.stderr index 3dea1ebc..8005ce5b 100644 --- a/codegen/ui_tests/rhai_fn_non_clonable_return.stderr +++ b/codegen/ui_tests/rhai_fn_non_clonable_return.stderr @@ -8,7 +8,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:1043:30 + --> $DIR/dynamic.rs:1044:30 | -1043 | pub fn from(mut value: T) -> Self { +1044 | pub fn from(mut 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 aa542503..dbbe2e0b 100644 --- a/codegen/ui_tests/rhai_mod_non_clonable_return.stderr +++ b/codegen/ui_tests/rhai_mod_non_clonable_return.stderr @@ -8,7 +8,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:1043:30 + --> $DIR/dynamic.rs:1044:30 | -1043 | pub fn from(mut value: T) -> Self { +1044 | pub fn from(mut value: T) -> Self { | ^^^^^ required by this bound in `rhai::Dynamic::from`