Skip to content

Commit 36339e8

Browse files
committed
fix: rules docs
1 parent 502ea28 commit 36339e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/codegen/src/rules_docs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ fn print_diagnostics(
431431
});
432432

433433
// split and parse each statement
434-
let stmts = pglt_statement_splitter::split(code);
434+
let stmts = pglt_statement_splitter::split(code).expect("unexpected parse error");
435435
for stmt in stmts.ranges {
436436
match pglt_query_ext::parse(&code[stmt]) {
437437
Ok(ast) => {

0 commit comments

Comments
 (0)