rhai/codegen/ui_tests/return_shared_ref.stderr
2022-12-16 11:17:25 +08:00

12 lines
388 B
Plaintext

error: Rhai functions cannot return references
--> ui_tests/return_shared_ref.rs:12:33
|
12 | pub fn test_fn(input: Clonable) -> &'static str {
| ^
error[E0425]: cannot find function `test_fn` in this scope
--> ui_tests/return_shared_ref.rs:23:20
|
23 | println!("{}", test_fn(n));
| ^^^^^^^ not found in this scope