autodoc: fix stage2 compile error

This commit is contained in:
Loris Cro 2022-09-02 18:13:17 +02:00
parent e72a8ed5a1
commit 4a08c6dd51

View File

@ -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,