File: second_shared_ref.stderr

package info (click to toggle)
rust-rhai-codegen 2.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 888 kB
  • sloc: makefile: 2
file content (11 lines) | stat: -rw-r--r-- 431 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
error: function parameters other than the first one cannot be passed by reference
  --> ui_tests/second_shared_ref.rs:13:41
   |
13 | pub fn test_fn(input: Clonable, factor: &bool) -> bool {
   |                                         ^

error[E0425]: cannot find function `test_fn` in this scope
  --> ui_tests/second_shared_ref.rs:24:8
   |
24 |     if test_fn(n, &true) {
   |        ^^^^^^^ not found in this scope