codegen: add rhai_mod and submodule support
This commit is contained in:
11
codegen/ui_tests/rhai_mod_missing_value.stderr
Normal file
11
codegen/ui_tests/rhai_mod_missing_value.stderr
Normal file
@@ -0,0 +1,11 @@
|
||||
error: requires value
|
||||
--> $DIR/rhai_mod_missing_value.rs:11:12
|
||||
|
|
||||
11 | #[rhai_mod(name)]
|
||||
| ^^^^
|
||||
|
||||
error[E0433]: failed to resolve: use of undeclared type or module `test_module`
|
||||
--> $DIR/rhai_mod_missing_value.rs:24:8
|
||||
|
|
||||
24 | if test_module::test_fn(n) {
|
||||
| ^^^^^^^^^^^ use of undeclared type or module `test_module`
|
Reference in New Issue
Block a user