aboutsummaryrefslogtreecommitdiff
path: root/src/codegen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/codegen.cpp')
-rw-r--r--src/codegen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codegen.cpp b/src/codegen.cpp
index 9c4e5b1555..8c56af674c 100644
--- a/src/codegen.cpp
+++ b/src/codegen.cpp
@@ -6426,7 +6426,7 @@ static void define_builtin_compile_vars(CodeGen *g) {
" };\n"
"\n"
" pub const ErrorUnion = struct {\n"
- " error_set: ErrorSet,\n"
+ " error_set: &ErrorSet,\n"
" payload: &TypeInfo,\n"
" };\n"
"\n"