Add exported_fn tests for rhai_fn in module
This commit is contained in:
11
codegen/ui_tests/export_mod_path_attr.stderr
Normal file
11
codegen/ui_tests/export_mod_path_attr.stderr
Normal file
@@ -0,0 +1,11 @@
|
||||
error: expecting attribute name
|
||||
--> $DIR/export_mod_path_attr.rs:11:11
|
||||
|
|
||||
11 | #[rhai_fn(rhai::name = "thing")]
|
||||
| ^^^^^^^^^^
|
||||
|
||||
error[E0433]: failed to resolve: use of undeclared type or module `test_mod`
|
||||
--> $DIR/export_mod_path_attr.rs:22:8
|
||||
|
|
||||
22 | if test_mod::test_fn(n) {
|
||||
| ^^^^^^^^ use of undeclared type or module `test_mod`
|
Reference in New Issue
Block a user