title: DuplicateLitField layout: article

DuplicateLitField occurs when a struct literal contains duplicated
fields.

Example:
 var _ = struct{i int}{i: 1, i: 2}