aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-08-10 14:49:42 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-08-19 16:45:15 -0700
commit09ec9b03154d909cca0d1719d804a67a11d85f5f (patch)
tree9f6d05909eb9f2ef180b4ba59c1df7afdc696e63
parenta73b3a0d70a094514a53aa028ee1321f63d950ab (diff)
downloadzig-09ec9b03154d909cca0d1719d804a67a11d85f5f.tar.gz
zig-09ec9b03154d909cca0d1719d804a67a11d85f5f.zip
langref: update to new error message
-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 ba817f0a4d..9247d3bc43 100644
--- a/doc/langref.html.in
+++ b/doc/langref.html.in
@@ -6622,7 +6622,7 @@ fn gimmeTheBiggerInteger(a: u64, b: u64) u64 {
<p>
For example, if we were to introduce another function to the above snippet:
</p>
- {#code_begin|test_err|value with comptime only type 'type' depends on runtime control flow#}
+ {#code_begin|test_err|unable to resolve comptime value#}
fn max(comptime T: type, a: T, b: T) T {
return if (a > b) a else b;
}