commit 1d2c3af90627fd2b5ffdd3a9c5f96fd73dddb2d5 (tree)
parent 272bad3f12a43e3613498080b6b656de5e28e2cf
Author: Martin Wickham <spexguy070@gmail.com>
Date: Fri, 1 Oct 2021 20:30:02 -0500
Remove address of pointer
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Sema.zig b/src/Sema.zig
@@ -2601,7 +2601,7 @@ fn zirCImport(sema: *Sema, parent_block: *Block, inst: Zir.Inst.Index) CompileEr
// we check this here to avoid undefined symbols
if (!@import("build_options").have_llvm)
- return sema.fail(&parent_block, src, "cannot do C import on Zig compiler not built with LLVM-extension", .{});
+ return sema.fail(parent_block, src, "cannot do C import on Zig compiler not built with LLVM-extension", .{});
var c_import_buf = std.ArrayList(u8).init(sema.gpa);
defer c_import_buf.deinit();