v/vlib/v/parser/tests/type_alias_existing_type_er...

8 lines
227 B
Plaintext

vlib/v/parser/tests/type_alias_existing_type_err.vv:3:6: error: cannot register alias `Foo`, another type with this name exists
1 | struct Foo{}
2 |
3 | type Foo = Foo
| ~~~
4 |
5 | fn main() {