Fix test output.

This commit is contained in:
Stephen Chung 2023-01-29 16:01:34 +08:00
parent 62696853b4
commit 9f966f6473

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`