2021-12-21 09:14:07 +01:00
|
|
|
error: duplicated attribute 'rhai_fn'
|
|
|
|
--> ui_tests/rhai_fn_duplicate_attr.rs:6:5
|
|
|
|
|
|
|
|
|
6 | #[rhai_fn(pure)]
|
2022-12-16 04:17:25 +01:00
|
|
|
| ^
|
2022-12-07 03:06:57 +01:00
|
|
|
|
|
|
|
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`
|
2022-12-16 04:17:25 +01:00
|
|
|
|
|
|
|
error[E0425]: cannot find value `n` in this scope
|
|
|
|
--> ui_tests/rhai_fn_duplicate_attr.rs:13:29
|
|
|
|
|
|
|
|
|
13 | if test_module::test_fn(n) {
|
|
|
|
| ^ not found in this scope
|