stage2: Add explicit type qualifier to workaround #13366

Depending on how #13366 is resolved, this code should arguably have
been rejected with a compile error in the first place.
This commit is contained in:
Cody Tapscott 2022-10-30 18:45:43 -07:00 committed by Andrew Kelley
parent 6f2408aab8
commit 049e6025f2

View file

@ -5001,7 +5001,7 @@ fn zirCImport(sema: *Sema, parent_block: *Block, inst: Zir.Inst.Index) CompileEr
var c_import_buf = std.ArrayList(u8).init(sema.gpa);
defer c_import_buf.deinit();
var comptime_reason = .{ .c_import = .{
var comptime_reason: Block.ComptimeReason = .{ .c_import = .{
.block = parent_block,
.src = src,
} };