Fix test results.
This commit is contained in:
parent
89ed531363
commit
6481e19673
@ -12,3 +12,7 @@ note: required by a bound in `rhai::Dynamic::cast`
|
|||||||
| 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 `rhai::Dynamic::cast`
|
||||||
= 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)]`
|
||||||
|
|
|
||||||
|
3 | #[derive(Clone)]
|
||||||
|
|
|
||||||
|
@ -12,3 +12,7 @@ note: required by a bound in `rhai::Dynamic::cast`
|
|||||||
| 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 `rhai::Dynamic::cast`
|
||||||
= 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)]`
|
||||||
|
|
|
||||||
|
3 | #[derive(Clone)]
|
||||||
|
|
|
||||||
|
@ -12,3 +12,7 @@ note: required by a bound in `rhai::Dynamic::from`
|
|||||||
| 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 `rhai::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)]`
|
||||||
|
|
|
||||||
|
3 | #[derive(Clone)]
|
||||||
|
|
|
||||||
|
@ -13,3 +13,7 @@ note: required by a bound in `rhai::Dynamic::from`
|
|||||||
| 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 `rhai::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)]`
|
||||||
|
|
|
||||||
|
3 | #[derive(Clone)]
|
||||||
|
|
|
||||||
|
Loading…
Reference in New Issue
Block a user