Update test output.
This commit is contained in:
parent
f46cbdde49
commit
72508a07f5
@ -8,7 +8,7 @@ note: required by a bound in `rhai::Dynamic::cast`
|
|||||||
--> $WORKSPACE/src/types/dynamic.rs
|
--> $WORKSPACE/src/types/dynamic.rs
|
||||||
|
|
|
|
||||||
| pub fn cast<T: Any + Clone>(self) -> T {
|
| pub fn cast<T: Any + Clone>(self) -> T {
|
||||||
| ^^^^^ required by this bound in `rhai::Dynamic::cast`
|
| ^^^^^ required by this bound in `Dynamic::cast`
|
||||||
help: consider annotating `NonClonable` with `#[derive(Clone)]`
|
help: consider annotating `NonClonable` with `#[derive(Clone)]`
|
||||||
|
|
|
|
||||||
3 | #[derive(Clone)]
|
3 | #[derive(Clone)]
|
||||||
|
@ -8,7 +8,7 @@ note: required by a bound in `rhai::Dynamic::cast`
|
|||||||
--> $WORKSPACE/src/types/dynamic.rs
|
--> $WORKSPACE/src/types/dynamic.rs
|
||||||
|
|
|
|
||||||
| pub fn cast<T: Any + Clone>(self) -> T {
|
| pub fn cast<T: Any + Clone>(self) -> T {
|
||||||
| ^^^^^ required by this bound in `rhai::Dynamic::cast`
|
| ^^^^^ required by this bound in `Dynamic::cast`
|
||||||
help: consider annotating `NonClonable` with `#[derive(Clone)]`
|
help: consider annotating `NonClonable` with `#[derive(Clone)]`
|
||||||
|
|
|
|
||||||
3 | #[derive(Clone)]
|
3 | #[derive(Clone)]
|
||||||
|
@ -10,7 +10,7 @@ note: required by a bound in `rhai::Dynamic::from`
|
|||||||
--> $WORKSPACE/src/types/dynamic.rs
|
--> $WORKSPACE/src/types/dynamic.rs
|
||||||
|
|
|
|
||||||
| pub fn from<T: Variant + Clone>(value: T) -> Self {
|
| pub fn from<T: Variant + Clone>(value: T) -> Self {
|
||||||
| ^^^^^ required by this bound in `rhai::Dynamic::from`
|
| ^^^^^ required by this bound in `Dynamic::from`
|
||||||
= note: this error originates in the attribute macro `export_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
|
= note: this error originates in the attribute macro `export_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||||
help: consider annotating `NonClonable` with `#[derive(Clone)]`
|
help: consider annotating `NonClonable` with `#[derive(Clone)]`
|
||||||
|
|
|
|
||||||
|
@ -11,7 +11,7 @@ note: required by a bound in `rhai::Dynamic::from`
|
|||||||
--> $WORKSPACE/src/types/dynamic.rs
|
--> $WORKSPACE/src/types/dynamic.rs
|
||||||
|
|
|
|
||||||
| pub fn from<T: Variant + Clone>(value: T) -> Self {
|
| pub fn from<T: Variant + Clone>(value: T) -> Self {
|
||||||
| ^^^^^ required by this bound in `rhai::Dynamic::from`
|
| ^^^^^ required by this bound in `Dynamic::from`
|
||||||
= note: this error originates in the attribute macro `export_module` (in Nightly builds, run with -Z macro-backtrace for more info)
|
= note: this error originates in the attribute macro `export_module` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||||
help: consider annotating `NonClonable` with `#[derive(Clone)]`
|
help: consider annotating `NonClonable` with `#[derive(Clone)]`
|
||||||
|
|
|
|
||||||
|
Loading…
Reference in New Issue
Block a user