vxx2 / vlib / v / checker / tests / no_interface_instantiation_a.out
6 lines · 6 sloc · 195 bytes · 0c8ce3bcb9fd4a2e5bd5f991a5a07da976d780d7
Raw
1vlib/v/checker/tests/no_interface_instantiation_a.vv:4:6: error: cannot instantiate interface `Speaker`
2 2 |
3 3 | fn main() {
4 4 | _ = Speaker{}
5 | ~~~~~~~~~
6 5 | }
7