Fix test output.
This commit is contained in:
parent
cdcca563ed
commit
2980683153
@ -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:1043:30
|
||||
|
|
||||
| pub fn from<T: Variant + Clone>(mut value: T) -> Self {
|
||||
| ----- required by this bound in `rhai::Dynamic::from`
|
||||
1043 | pub fn from<T: Variant + Clone>(mut value: T) -> Self {
|
||||
| ^^^^^ required by this bound in `rhai::Dynamic::from`
|
||||
|
@ -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:1043:30
|
||||
|
|
||||
| pub fn from<T: Variant + Clone>(mut value: T) -> Self {
|
||||
| ----- required by this bound in `rhai::Dynamic::from`
|
||||
1043 | pub fn from<T: Variant + Clone>(mut value: T) -> Self {
|
||||
| ^^^^^ required by this bound in `rhai::Dynamic::from`
|
||||
|
Loading…
Reference in New Issue
Block a user