2020-10-15 08:06:54 +02:00
|
|
|
error: property setter cannot return any value
|
2021-02-26 13:14:23 +01:00
|
|
|
--> $DIR/rhai_fn_setter_return.rs:13:51
|
2020-09-13 05:28:41 +02:00
|
|
|
|
|
|
|
|
13 | pub fn test_fn(input: &mut Point, value: f32) -> bool {
|
2021-02-26 13:00:25 +01:00
|
|
|
| ^^^^^^^
|
2020-09-13 05:28:41 +02:00
|
|
|
|
2020-09-13 05:57:17 +02:00
|
|
|
error[E0433]: failed to resolve: use of undeclared crate or module `test_module`
|
2020-09-13 05:28:41 +02:00
|
|
|
--> $DIR/rhai_fn_setter_return.rs:24:8
|
|
|
|
|
|
|
|
|
24 | if test_module::test_fn(&mut n, 5.0) {
|
2020-09-13 05:57:17 +02:00
|
|
|
| ^^^^^^^^^^^ use of undeclared crate or module `test_module`
|