vxx2 / vlib / v / checker / tests / fn_call_ref_incompatible_u8_test.out
6 lines · 6 sloc · 289 bytes · d8cf65df1a091027cbcc2548a8ed5d4def178213
Raw
1vlib/v/checker/tests/fn_call_ref_incompatible_u8_test.vv:9:28: error: cannot use `&[]int` as `&u8` in argument 1 to `accept_only_u8_references`
2 7 | fn test_main() {
3 8 | a := [1, 2, 3]
4 9 | accept_only_u8_references(&a)
5 | ~~
6 10 | }
7