stage1: Fix crash in comptime struct generation

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

Closes #7027
aa6fc29744LemonBoy committed on 11/12/2020, 2:14:03 AM· committed by Andrew Kelleyparent01a927a
3 files changedLine totals unavailable