Fix test output.

This commit is contained in:
Stephen Chung 2021-09-24 18:42:57 +08:00
parent d791052d5c
commit 65326d87f4
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:1121:30 --> $DIR/dynamic.rs:1122:30
| |
1121 | pub fn from<T: Variant + Clone>(mut value: T) -> Self { 1122 | 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:1121:30 --> $DIR/dynamic.rs:1122:30
| |
1121 | pub fn from<T: Variant + Clone>(mut value: T) -> Self { 1122 | 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`