12 lines
464 B
Plaintext
12 lines
464 B
Plaintext
|
error: property setter must return no value
|
||
|
--> $DIR/rhai_fn_setter_return.rs:13:9
|
||
|
|
|
||
|
13 | pub fn test_fn(input: &mut Point, value: f32) -> bool {
|
||
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
|
|
||
|
error[E0433]: failed to resolve: use of undeclared type or module `test_module`
|
||
|
--> $DIR/rhai_fn_setter_return.rs:24:8
|
||
|
|
|
||
|
24 | if test_module::test_fn(&mut n, 5.0) {
|
||
|
| ^^^^^^^^^^^ use of undeclared type or module `test_module`
|