DuplicateLitKey occurs when an index is duplicated in a slice, array, or map literal. Example: var _ = []int{0:1, 0:2} Example: var _ = map[string]int{"a": 1, "a": 2}