aboutsummaryrefslogtreecommitdiff
path: root/src/Module.zig
diff options
context:
space:
mode:
authorr00ster91 <r00ster91@proton.me>2022-10-05 20:58:23 +0200
committerr00ster91 <r00ster91@proton.me>2022-10-05 21:19:30 +0200
commit51d9db856978610c24b3fed50a9550455a2eb64b (patch)
tree90c73872df36318779a8e23682d2d7b774ad5e19 /src/Module.zig
parent654e0b6679f3436bacbf685223d6ab68f707a62f (diff)
downloadzig-51d9db856978610c24b3fed50a9550455a2eb64b.tar.gz
zig-51d9db856978610c24b3fed50a9550455a2eb64b.zip
fix(text): hyphenate "comptime" adjectives
Diffstat (limited to 'src/Module.zig')
-rw-r--r--src/Module.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Module.zig b/src/Module.zig
index 6056c385e3..b4792b6e28 100644
--- a/src/Module.zig
+++ b/src/Module.zig
@@ -4584,7 +4584,7 @@ fn semaDecl(mod: *Module, decl_index: Decl.Index) !bool {
const decl_linksection: ?[*:0]const u8 = blk: {
const linksection_ref = decl.zirLinksectionRef();
if (linksection_ref == .none) break :blk null;
- const bytes = try sema.resolveConstString(&block_scope, section_src, linksection_ref, "linksection must be comptime known");
+ const bytes = try sema.resolveConstString(&block_scope, section_src, linksection_ref, "linksection must be comptime-known");
if (mem.indexOfScalar(u8, bytes, 0) != null) {
return sema.fail(&block_scope, section_src, "linksection cannot contain null bytes", .{});
} else if (bytes.len == 0) {