Add exported_fn tests for rhai_fn in module

This commit is contained in:
J Henry Waugh
2020-08-27 22:59:25 -05:00
parent 8de095fa36
commit fedc4c5338
15 changed files with 277 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
error: cfg attributes not allowed on this item
--> $DIR/export_mod_cfg.rs:11:1
|
11 | #[cfg(not(feature = "foo"))]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0433]: failed to resolve: use of undeclared type or module `test_mod`
--> $DIR/export_mod_cfg.rs:23:8
|
23 | if test_mod::test_fn(n) {
| ^^^^^^^^ use of undeclared type or module `test_mod`