Using the gen_index rather than the src_index is needed to handle structures containing zero-sized or comptime only types. Closes #7027
Using the gen_index rather than the src_index is needed to handle structures containing zero-sized or comptime only types. Closes #7027