Fix tests output.

This commit is contained in:
Stephen Chung 2021-09-28 16:32:31 +08:00
parent 07acc6e125
commit b90776911d
2 changed files with 4 additions and 4 deletions

View File

@ -8,7 +8,7 @@ error[E0277]: the trait bound `NonClonable: Clone` is not satisfied
| the trait `Clone` is not implemented for `NonClonable` | the trait `Clone` is not implemented for `NonClonable`
| |
note: required by a bound in `rhai::Dynamic::from` note: required by a bound in `rhai::Dynamic::from`
--> $DIR/dynamic.rs:1043:30 --> $DIR/dynamic.rs:1044:30
| |
1043 | pub fn from<T: Variant + Clone>(mut value: T) -> Self { 1044 | 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

@ -8,7 +8,7 @@ error[E0277]: the trait bound `NonClonable: Clone` is not satisfied
| the trait `Clone` is not implemented for `NonClonable` | the trait `Clone` is not implemented for `NonClonable`
| |
note: required by a bound in `rhai::Dynamic::from` note: required by a bound in `rhai::Dynamic::from`
--> $DIR/dynamic.rs:1043:30 --> $DIR/dynamic.rs:1044:30
| |
1043 | pub fn from<T: Variant + Clone>(mut value: T) -> Self { 1044 | 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`