Fix test output.
This commit is contained in:
parent
2b0b79870e
commit
fa3c679b59
@ -3,3 +3,9 @@ error[E0277]: the trait bound `NonClonable: Clone` is not satisfied
|
||||
|
|
||||
11 | pub fn test_fn(input: NonClonable) -> bool {
|
||||
| ^^^^^^^^^^^ the trait `Clone` is not implemented for `NonClonable`
|
||||
|
|
||||
note: required by a bound in `rhai::Dynamic::cast`
|
||||
--> $WORKSPACE/src/types/dynamic.rs
|
||||
|
|
||||
| pub fn cast<T: Any + Clone>(self) -> T {
|
||||
| ^^^^^ required by this bound in `rhai::Dynamic::cast`
|
||||
|
@ -3,3 +3,9 @@ error[E0277]: the trait bound `NonClonable: Clone` is not satisfied
|
||||
|
|
||||
11 | pub fn test_fn(a: u32, b: NonClonable) -> bool {
|
||||
| ^^^^^^^^^^^ the trait `Clone` is not implemented for `NonClonable`
|
||||
|
|
||||
note: required by a bound in `rhai::Dynamic::cast`
|
||||
--> $WORKSPACE/src/types/dynamic.rs
|
||||
|
|
||||
| pub fn cast<T: Any + Clone>(self) -> T {
|
||||
| ^^^^^ required by this bound in `rhai::Dynamic::cast`
|
||||
|
Loading…
Reference in New Issue
Block a user