v2 / vlib / v / checker / tests / struct_unknown_field.out
8 lines · 8 sloc · 268 bytes · c752e5eb3ebb49a5c165664aec4a492a817ce366
Raw
1vlib/v/checker/tests/struct_unknown_field.vv:8:3: error: unknown field `bar` in struct literal of type `Test`.
21 possibility: `foo`.
3 6 | t := Test{
4 7 | foo: true
5 8 | bar: false
6 | ~~~~~~~~~~
7 9 | }
8 10 | _ = t
9