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 ca2b8ef commit 37f264dCopy full SHA for 37f264d
rust/extractor/src/translate/base.rs
@@ -84,7 +84,7 @@ impl Translator {
84
}
85
pub fn emit_parse_error(&mut self, path: &str, err: SyntaxError) {
86
let (start, end) = self.location(err.range());
87
- log::warn!("{}:{}:{}: {}", path, start.line, start.col, err);
+ log::warn!("{}:{}:{}: {}", path, start.line + 1, start.col + 1, err);
88
let message = err.to_string();
89
let location = self.trap.emit_location_label(self.label, start, end);
90
self.trap.emit_diagnostic(
0 commit comments