Fix tests output.

This commit is contained in:
Stephen Chung 2023-06-15 11:06:14 +08:00
parent 982b972d3b
commit 1728de7dcd
5 changed files with 11 additions and 7 deletions

View File

@ -11,5 +11,6 @@ note: required by a bound in `rhai::Dynamic::cast`
| ^^^^^ required by this bound in `Dynamic::cast`
help: consider annotating `NonClonable` with `#[derive(Clone)]`
|
3 | #[derive(Clone)]
3 + #[derive(Clone)]
4 | struct NonClonable {
|

View File

@ -11,5 +11,6 @@ note: required by a bound in `rhai::Dynamic::cast`
| ^^^^^ required by this bound in `Dynamic::cast`
help: consider annotating `NonClonable` with `#[derive(Clone)]`
|
3 | #[derive(Clone)]
3 + #[derive(Clone)]
4 | struct NonClonable {
|

View File

@ -14,5 +14,6 @@ note: required by a 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)
help: consider annotating `NonClonable` with `#[derive(Clone)]`
|
3 | #[derive(Clone)]
3 + #[derive(Clone)]
4 | struct NonClonable {
|

View File

@ -15,5 +15,6 @@ note: required by a 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)
help: consider annotating `NonClonable` with `#[derive(Clone)]`
|
3 | #[derive(Clone)]
3 + #[derive(Clone)]
4 | struct NonClonable {
|

View File

@ -13,9 +13,9 @@ help: a struct with a similar name exists
| ~~~~~
help: consider importing one of these items
|
11 | use core::fmt::Pointer;
11 + use core::fmt::Pointer;
|
11 | use std::fmt::Pointer;
11 + use std::fmt::Pointer;
|
11 | use syn::__private::fmt::Pointer;
11 + use syn::__private::fmt::Pointer;
|