vxx2 / vlib / v / checker / tests / checker_comparison_between_obj_and_int.out
7 lines · 7 sloc · 310 bytes · 17bba712bd950294387220f87d3456f37b388161
Raw
1vlib/v/checker/tests/checker_comparison_between_obj_and_int.vv:10:5: error: infix expr: cannot use `int literal` (right expression) as `Foo` (you can use it inside an `unsafe` block)
2 8 |
3 9 | fn insert_helper(mut node Foo) {
4 10 | if node == 0 {
5 | ~~~~~~~~~
6 11 | }
7 12 | }
8