aboutsummaryrefslogtreecommitdiff
path: root/src/ir.cpp
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2020-03-08 19:18:06 +1100
committerdaurnimator <quae@daurnimator.com>2020-03-08 19:18:06 +1100
commitb85bb152bf4c84a298200703d9a005ffcd1b24a0 (patch)
tree5423517c56e80a0be7d48e4f3b48a5e279ddb1f9 /src/ir.cpp
parent9e60c89601ab205cd3e63215b318beb89ad1b471 (diff)
downloadzig-b85bb152bf4c84a298200703d9a005ffcd1b24a0.tar.gz
zig-b85bb152bf4c84a298200703d9a005ffcd1b24a0.zip
Fix grammar in error message
Diffstat (limited to 'src/ir.cpp')
-rw-r--r--src/ir.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir.cpp b/src/ir.cpp
index 86d85303c0..86a5cf0617 100644
--- a/src/ir.cpp
+++ b/src/ir.cpp
@@ -30246,7 +30246,7 @@ static Error ir_resolve_lazy_raw(AstNode *source_node, ZigValue *val) {
return ErrorSemanticAnalyzeFail;
} else if (elem_type->id == ZigTypeIdOpaque) {
ir_add_error(ira, &lazy_ptr_type->elem_type->base,
- buf_sprintf("C pointers cannot point opaque types"));
+ buf_sprintf("C pointers cannot point to opaque types"));
return ErrorSemanticAnalyzeFail;
} else if (lazy_ptr_type->is_allowzero) {
ir_add_error(ira, &lazy_ptr_type->elem_type->base,