mirror of
https://github.com/fluencelabs/marine-rs-sdk-test
synced 2025-04-24 23:12:13 +00:00
30 lines
1.3 KiB
Plaintext
30 lines
1.3 KiB
Plaintext
error: vector type in export functions should take arguments only by value
|
|
--> $DIR/array_inner_refs.rs:13:23
|
|
|
|
|
13 | pub fn inner_arrays_1(_arg: Vec<&Vec<Vec<Vec<u8>>>>) -> Vec<Vec<Vec<Vec<u8>>>> {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: vector type in export functions should take arguments only by value
|
|
--> $DIR/array_inner_refs.rs:18:23
|
|
|
|
|
18 | pub fn inner_arrays_2(_arg: Vec<Vec<&Vec<Vec<u8>>>>) -> Vec<Vec<Vec<Vec<u8>>>> {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: vector type in export functions should take arguments only by value
|
|
--> $DIR/array_inner_refs.rs:23:23
|
|
|
|
|
23 | pub fn inner_arrays_3(_arg: Vec<Vec<Vec<&Vec<u8>>>>) -> Vec<Vec<Vec<Vec<u8>>>> {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: vector type in export functions should take arguments only by value
|
|
--> $DIR/array_inner_refs.rs:28:23
|
|
|
|
|
28 | pub fn inner_arrays_4(_arg: Vec<Vec<Vec<Vec<&u8>>>>) -> Vec<Vec<Vec<Vec<u8>>>> {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: vector type in export functions should take arguments only by value
|
|
--> $DIR/array_inner_refs.rs:33:35
|
|
|
|
|
33 | pub fn inner_arrays_5(_arg1: i32, _arg2: Vec<Vec<Vec<&Vec<u8>>>>, _arg3: i32) -> Vec<Vec<Vec<Vec<u8>>>> {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|