mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
parent
3f7e9ff597
commit
c32171991b
@ -207,7 +207,7 @@ pub fn renderError(tree: Ast, parse_error: Error, stream: anytype) !void {
|
||||
return stream.writeAll("declarations are not allowed between container fields");
|
||||
},
|
||||
.expected_block => {
|
||||
return stream.print("expected block or field, found '{s}'", .{
|
||||
return stream.print("expected block, found '{s}'", .{
|
||||
token_tags[parse_error.token + @boolToInt(parse_error.token_is_prev)].symbol(),
|
||||
});
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user