E1030: field declared twice in a struct
The fields of a struct are identified by name, so each name can be declared only once.
The fields of a struct are identified by name, so each name can be declared only once. The error points at the second field.
Example
actus
Fix
Give each field its own name.
actus
Run actus explain E1030 in your terminal to read this entry offline. Browse Ownership & types or all error codes.