aboutsummaryrefslogtreecommitdiff
path: root/src/Sema.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2025-02-25 23:59:48 -0800
committerAndrew Kelley <andrew@ziglang.org>2025-02-26 14:41:33 -0500
commitf74a856d84af4c43057febc0a871caa0e69bbfc8 (patch)
tree2d8085b7ee73aaabdce3a5f5fba5525de034e75f /src/Sema.zig
parentc5aa680c88f7c03718460ff38e7cb1f7c5482cf2 (diff)
downloadzig-f74a856d84af4c43057febc0a871caa0e69bbfc8.tar.gz
zig-f74a856d84af4c43057febc0a871caa0e69bbfc8.zip
reword deprecated error slightly
"found" -> "reached" to match "reached unreachable code"
Diffstat (limited to 'src/Sema.zig')
-rw-r--r--src/Sema.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Sema.zig b/src/Sema.zig
index 9e4c4d6bd2..2d5407532a 100644
--- a/src/Sema.zig
+++ b/src/Sema.zig
@@ -1409,7 +1409,7 @@ fn analyzeBodyInner(
if (!mod.allow_deprecated) {
const src_node: i32 = @bitCast(extended.operand);
const src = block.nodeOffset(src_node);
- return sema.fail(block, src, "found deprecated code", .{});
+ return sema.fail(block, src, "reached deprecated code", .{});
}
i += 1;