| 1 | vlib/v/checker/tests/generics_struct_decl_no_mention_err.vv:4:2: error: generic type name `T` is not mentioned in struct `Foo[U]` |
| 2 | 2 | |
| 3 | 3 | struct Foo[U] { |
| 4 | 4 | Bar[T] |
| 5 | | ~~~~~~ |
| 6 | 5 | foo U |
| 7 | 6 | bar P |
| 8 | vlib/v/checker/tests/generics_struct_decl_no_mention_err.vv:6:6: error: generic type name `P` is not mentioned in struct `Foo[U]` |
| 9 | 4 | Bar[T] |
| 10 | 5 | foo U |
| 11 | 6 | bar P |
| 12 | | ^ |
| 13 | 7 | } |
| 14 | 8 | |
| 15 |