Fix test output.

This commit is contained in:
Stephen Chung 2022-12-07 10:06:57 +08:00
parent e400b3627c
commit 544b86adef

View File

@ -4,14 +4,14 @@ error: duplicated attribute 'rhai_fn'
6 | #[rhai_fn(pure)] 6 | #[rhai_fn(pure)]
| ^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^
error[E0433]: failed to resolve: use of undeclared crate or module `test_module`
--> ui_tests/rhai_fn_duplicate_attr.rs:13:8
|
13 | if test_module::test_fn(n) {
| ^^^^^^^^^^^ use of undeclared crate or module `test_module`
error[E0425]: cannot find value `n` in this scope error[E0425]: cannot find value `n` in this scope
--> ui_tests/rhai_fn_duplicate_attr.rs:13:29 --> ui_tests/rhai_fn_duplicate_attr.rs:13:29
| |
13 | if test_module::test_fn(n) { 13 | if test_module::test_fn(n) {
| ^ not found in this scope | ^ not found in this scope
error[E0433]: failed to resolve: use of undeclared crate or module `test_module`
--> ui_tests/rhai_fn_duplicate_attr.rs:13:8
|
13 | if test_module::test_fn(n) {
| ^^^^^^^^^^^ use of undeclared crate or module `test_module`