| 1 | vlib/v/checker/tests/no_interface_instantiation_c.vv:5:10: notice: unused parameter: `s` |
| 2 | 3 | } |
| 3 | 4 | |
| 4 | 5 | fn my_fn(s Speaker) {} |
| 5 | | ^ |
| 6 | 6 | |
| 7 | 7 | fn main() { |
| 8 | vlib/v/checker/tests/no_interface_instantiation_c.vv:9:3: error: cannot instantiate interface `Speaker` |
| 9 | 7 | fn main() { |
| 10 | 8 | my_fn( |
| 11 | 9 | speak: 1 |
| 12 | | ~~~~~~~~ |
| 13 | 10 | ) |
| 14 | 11 | } |
| 15 |