aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLemonBoy <thatlemon@gmail.com>2020-10-25 23:17:32 +0100
committerAndrew Kelley <andrew@ziglang.org>2020-10-29 20:06:52 -0400
commit490cafe2c5a62585fd80245a0f6fa5cff4f52dba (patch)
treecfeaee15bc2cb5b37e9c9f83d1068c28f8c5e280 /doc
parentf4bb8be9fc8766fec93618f89552c28d3f0a201b (diff)
downloadzig-490cafe2c5a62585fd80245a0f6fa5cff4f52dba.tar.gz
zig-490cafe2c5a62585fd80245a0f6fa5cff4f52dba.zip
stage1: Error out when trying to execute `unreachable`
Closes #6802
Diffstat (limited to 'doc')
-rw-r--r--doc/langref.html.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/langref.html.in b/doc/langref.html.in
index 8d4238473f..5e8ec10534 100644
--- a/doc/langref.html.in
+++ b/doc/langref.html.in
@@ -8675,7 +8675,7 @@ test "safety check" {
{#code_end#}
{#header_open|Reaching Unreachable Code#}
<p>At compile-time:</p>
- {#code_begin|test_err|unable to evaluate constant expression#}
+ {#code_begin|test_err|reached unreachable code#}
comptime {
assert(false);
}