v2 / vlib / v / checker / tests / from_string_on_non_enum_err.out
14 lines · 14 sloc · 449 bytes · 3d60410b605d001e54f280070d5f952da9de1112
Raw
1vlib/v/checker/tests/from_string_on_non_enum_err.vv:9:20: notice: unused parameter: `a`
2 7 | }
3 8 |
4 9 | fn Bar.from_string(a string) {}
5 | ^
6 10 |
7 11 | fn main() {
8vlib/v/checker/tests/from_string_on_non_enum_err.vv:12:2: error: expected enum, but `Foo` is struct
9 10 |
10 11 | fn main() {
11 12 | Foo.from_string('foo')
12 | ~~~~~~~~~~~~~~~~~~~~~~
13 13 | Bar.from_string('bar')
14 14 | }
15