We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d55fd6b commit 7db2077Copy full SHA for 7db2077
crates/pglt_statement_splitter/src/parser.rs
@@ -87,9 +87,8 @@ impl Parser {
87
pub fn start_stmt(&mut self) {
88
assert!(
89
self.current_stmt_start.is_none(),
90
- "cannot start statement without statement {:?} at {:?}",
91
- self.current_stmt_start,
92
- self.tokens.get(self.current_stmt_start.unwrap()).unwrap()
+ "cannot start statement within statement at {:?}",
+ self.tokens.get(self.current_stmt_start.unwrap())
93
);
94
self.current_stmt_start = Some(self.next_pos);
95
}
0 commit comments