v/vlib/v/checker/tests/struct_cast_to_struct_gener...

7 lines
251 B
Plaintext
Raw Normal View History

vlib/v/checker/tests/struct_cast_to_struct_generic_err.vv:11:7: error: casting to struct is deprecated, use e.g. `Struct{...expr}` instead
2020-08-14 14:57:08 +02:00
9 | fn main() {
10 | abc := Abc<int>{}
11 | _ := Xyz(abc)
| ~~~~~~~~
12 | }