Fix test output.

This commit is contained in:
Stephen Chung 2021-08-21 11:51:45 +08:00
parent de674b99e9
commit 33d1006d28
3 changed files with 9 additions and 6 deletions

View File

@ -4,6 +4,7 @@ on:
push: push:
branches: branches:
- master - master
- bug-fixes
pull_request: {} pull_request: {}
jobs: jobs:

View File

@ -4,7 +4,8 @@ error[E0277]: the trait bound `NonClonable: Clone` is not satisfied
11 | pub fn test_fn(input: f32) -> NonClonable { 11 | pub fn test_fn(input: f32) -> NonClonable {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `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<T: Variant + Clone>(mut value: T) -> Self { 1127 | pub fn from<T: Variant + Clone>(mut value: T) -> Self {
| ----- required by this bound in `rhai::Dynamic::from` | ^^^^^ required by this bound in `rhai::Dynamic::from`

View File

@ -4,7 +4,8 @@ error[E0277]: the trait bound `NonClonable: Clone` is not satisfied
12 | pub fn test_fn(input: f32) -> NonClonable { 12 | pub fn test_fn(input: f32) -> NonClonable {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `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<T: Variant + Clone>(mut value: T) -> Self { 1127 | pub fn from<T: Variant + Clone>(mut value: T) -> Self {
| ----- required by this bound in `rhai::Dynamic::from` | ^^^^^ required by this bound in `rhai::Dynamic::from`