rhai/codegen/ui_tests/first_shared_ref.stderr

12 lines
364 B
Plaintext
Raw Normal View History

2020-08-01 18:52:26 +02:00
error: references from Rhai in this position must be mutable
--> $DIR/first_shared_ref.rs:11:23
|
11 | pub fn test_fn(input: &NonClonable) -> bool {
| ^^^^^^^^^^^^
error[E0425]: cannot find function `test_fn` in this scope
2020-08-03 02:27:19 +02:00
--> $DIR/first_shared_ref.rs:22:8
2020-08-01 18:52:26 +02:00
|
2020-08-03 02:27:19 +02:00
22 | if test_fn(n) {
2020-08-01 18:52:26 +02:00
| ^^^^^^^ not found in this scope