v4 / vlib / v / checker / tests / option_ptr_without_unwrapp_err.out
7 lines · 7 sloc · 276 bytes · 3d302a6dad1d1d9ac7b9492ffda488c762e766e4
Raw
1vlib/v/checker/tests/option_ptr_without_unwrapp_err.vv:6:12: error: cannot use `?&Node` as `Node`, it must be unwrapped first in argument 1 to `set_trace`
2 4 |
3 5 | fn set_trace(n Node) {
4 6 | set_trace(n.parent)
5 | ~~~~~~~~
6 7 | }
7 8 |
8