Fix test output.
This commit is contained in:
parent
de674b99e9
commit
33d1006d28
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
@ -4,6 +4,7 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
- bug-fixes
|
||||||
pull_request: {}
|
pull_request: {}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
@ -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`
|
||||||
|
@ -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`
|
||||||
|
Loading…
Reference in New Issue
Block a user