rhai/codegen/ui_tests/return_mut_ref.stderr

12 lines
364 B
Plaintext
Raw Normal View History

error: Rhai functions cannot return references
2021-10-12 14:57:47 +02:00
--> ui_tests/return_mut_ref.rs:12:38
2020-08-01 18:52:26 +02:00
|
12 | pub fn test_fn(input: &mut Clonable) -> &mut bool {
2022-12-16 04:17:25 +01:00
| ^
2020-08-01 18:52:26 +02:00
error[E0425]: cannot find function `test_fn` in this scope
2021-10-12 14:57:47 +02:00
--> ui_tests/return_mut_ref.rs:23:8
2020-08-01 18:52:26 +02:00
|
2020-08-03 02:27:19 +02:00
23 | if test_fn(n) {
2020-08-01 18:52:26 +02:00
| ^^^^^^^ not found in this scope