2020-10-20 09:21:41 +08:00
|
|
|
error: property getter requires exactly 1 parameter
|
2021-02-26 20:14:23 +08:00
|
|
|
--> $DIR/rhai_fn_getter_signature.rs:13:20
|
2020-09-12 22:28:41 -05:00
|
|
|
|
|
|
|
|
13 | pub fn test_fn(input: Point, value: bool) -> bool {
|
2021-02-26 20:00:25 +08:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
2020-09-12 22:28:41 -05:00
|
|
|
|
2020-09-12 22:57:17 -05:00
|
|
|
error[E0433]: failed to resolve: use of undeclared crate or module `test_module`
|
2020-09-12 22:28:41 -05:00
|
|
|
--> $DIR/rhai_fn_getter_signature.rs:23:8
|
|
|
|
|
|
|
|
|
23 | if test_module::test_fn(n, true) {
|
2020-09-12 22:57:17 -05:00
|
|
|
| ^^^^^^^^^^^ use of undeclared crate or module `test_module`
|