error: index getter must return a value
  --> ui_tests/rhai_fn_index_getter_return.rs:13:9
   |
13 |     pub fn test_fn(input: &mut Point, i: f32) {
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0433]: failed to resolve: use of undeclared crate or module `test_module`
  --> ui_tests/rhai_fn_index_getter_return.rs:23:8
   |
23 |     if test_module::test_fn(&mut n, 5.0) {
   |        ^^^^^^^^^^^ use of undeclared crate or module `test_module`
