From c6ee20094b751edf7872e63533fa48456941234b Mon Sep 17 00:00:00 2001 From: Stephen Chung Date: Tue, 25 May 2021 11:09:55 +0800 Subject: [PATCH] Fix teset output. --- .../rhai_fn_non_clonable_return.stderr | 18 +++++++++--------- .../rhai_mod_non_clonable_return.stderr | 18 +++++++++--------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/codegen/ui_tests/rhai_fn_non_clonable_return.stderr b/codegen/ui_tests/rhai_fn_non_clonable_return.stderr index 28d43e99..b9016a12 100644 --- a/codegen/ui_tests/rhai_fn_non_clonable_return.stderr +++ b/codegen/ui_tests/rhai_fn_non_clonable_return.stderr @@ -1,10 +1,10 @@ error[E0277]: the trait bound `NonClonable: Clone` is not satisfied - --> $DIR/rhai_fn_non_clonable_return.rs:11:8 - | -11 | pub fn test_fn(input: f32) -> NonClonable { - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `NonClonable` - | - ::: $WORKSPACE/src/dynamic.rs - | - | pub fn from(mut value: T) -> Self { - | ----- required by this bound in `rhai::Dynamic::from` + --> $DIR/rhai_fn_non_clonable_return.rs:11:8 + | +11 | pub fn test_fn(input: f32) -> NonClonable { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `NonClonable` + | + ::: $WORKSPACE/src/dynamic.rs + | + | 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 73ba7569..900efa16 100644 --- a/codegen/ui_tests/rhai_mod_non_clonable_return.stderr +++ b/codegen/ui_tests/rhai_mod_non_clonable_return.stderr @@ -1,10 +1,10 @@ error[E0277]: the trait bound `NonClonable: Clone` is not satisfied - --> $DIR/rhai_mod_non_clonable_return.rs:12:12 - | -12 | pub fn test_fn(input: f32) -> NonClonable { - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `NonClonable` - | - ::: $WORKSPACE/src/dynamic.rs - | - | pub fn from(mut value: T) -> Self { - | ----- required by this bound in `rhai::Dynamic::from` + --> $DIR/rhai_mod_non_clonable_return.rs:12:12 + | +12 | pub fn test_fn(input: f32) -> NonClonable { + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `NonClonable` + | + ::: $WORKSPACE/src/dynamic.rs + | + | pub fn from(mut value: T) -> Self { + | ----- required by this bound in `rhai::Dynamic::from`