Skip to content

Commit

Permalink
Merge pull request #728 from schungx/master
Browse files Browse the repository at this point in the history
Fix tests output.
  • Loading branch information
schungx committed Jun 15, 2023
2 parents d12b124 + 1728de7 commit fd162ab
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
3 changes: 2 additions & 1 deletion codegen/ui_tests/non_clonable.stderr
Expand Up @@ -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 {
|
3 changes: 2 additions & 1 deletion codegen/ui_tests/non_clonable_second.stderr
Expand Up @@ -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 {
|
3 changes: 2 additions & 1 deletion codegen/ui_tests/rhai_fn_non_clonable_return.stderr
Expand Up @@ -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 {
|
3 changes: 2 additions & 1 deletion codegen/ui_tests/rhai_mod_non_clonable_return.stderr
Expand Up @@ -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 {
|
6 changes: 3 additions & 3 deletions codegen/ui_tests/rhai_mod_unknown_type.stderr
Expand Up @@ -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;
|

0 comments on commit fd162ab

Please sign in to comment.