aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLoris Cro <kappaloris@gmail.com>2022-09-02 18:13:17 +0200
committerLoris Cro <kappaloris@gmail.com>2022-09-02 18:13:17 +0200
commit4a08c6dd51ea41cc560dd30d51991d3d0c36ff6a (patch)
treeaa2160a7936f336b861883810d5d8f72e6d82628 /src
parente72a8ed5a10539b03c5dfbf5f230322664e3d275 (diff)
downloadzig-4a08c6dd51ea41cc560dd30d51991d3d0c36ff6a.tar.gz
zig-4a08c6dd51ea41cc560dd30d51991d3d0c36ff6a.zip
autodoc: fix stage2 compile error
Diffstat (limited to 'src')
-rw-r--r--src/Autodoc.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Autodoc.zig b/src/Autodoc.zig
index 33943a3066..e6d9c843de 100644
--- a/src/Autodoc.zig
+++ b/src/Autodoc.zig
@@ -4227,7 +4227,7 @@ fn srcLocInfo(
const tok_idx = tokens[node_idx];
const start = tree.tokens.items(.start)[tok_idx];
const loc = tree.tokenLocation(parent_src.bytes, tok_idx);
- return .{
+ return SrcLocInfo{
.line = parent_src.line + loc.line,
.bytes = start,
.src_node = sn,