diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 01204a70..8e97e90a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,6 +4,7 @@ on: push: branches: - master + - bug-fixes pull_request: {} jobs: diff --git a/codegen/ui_tests/rhai_fn_non_clonable_return.stderr b/codegen/ui_tests/rhai_fn_non_clonable_return.stderr index 28d43e99..f5a3d29c 100644 --- a/codegen/ui_tests/rhai_fn_non_clonable_return.stderr +++ b/codegen/ui_tests/rhai_fn_non_clonable_return.stderr @@ -4,7 +4,8 @@ error[E0277]: the trait bound `NonClonable: Clone` is not satisfied 11 | pub fn test_fn(input: f32) -> NonClonable { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `NonClonable` | - ::: $WORKSPACE/src/dynamic.rs +note: required by a bound in `rhai::Dynamic::from` + --> $DIR/dynamic.rs:1127:30 | - | pub fn from(mut value: T) -> Self { - | ----- required by this bound in `rhai::Dynamic::from` +1127 | 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..17e1ae0e 100644 --- a/codegen/ui_tests/rhai_mod_non_clonable_return.stderr +++ b/codegen/ui_tests/rhai_mod_non_clonable_return.stderr @@ -4,7 +4,8 @@ error[E0277]: the trait bound `NonClonable: Clone` is not satisfied 12 | pub fn test_fn(input: f32) -> NonClonable { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `NonClonable` | - ::: $WORKSPACE/src/dynamic.rs +note: required by a bound in `rhai::Dynamic::from` + --> $DIR/dynamic.rs:1127:30 | - | pub fn from(mut value: T) -> Self { - | ----- required by this bound in `rhai::Dynamic::from` +1127 | pub fn from(mut value: T) -> Self { + | ^^^^^ required by this bound in `rhai::Dynamic::from`