12 lines
375 B
Plaintext
12 lines
375 B
Plaintext
error: Rhai functions cannot return references
|
|
--> ui_tests/return_mut_ref.rs:12:38
|
|
|
|
|
12 | pub fn test_fn(input: &mut Clonable) -> &mut bool {
|
|
| ^^^^^^^^^^^^
|
|
|
|
error[E0425]: cannot find function `test_fn` in this scope
|
|
--> ui_tests/return_mut_ref.rs:23:8
|
|
|
|
|
23 | if test_fn(n) {
|
|
| ^^^^^^^ not found in this scope
|