aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndres Suarez <zertosh@gmail.com>2019-07-28 17:40:49 +0000
committerAndres Suarez <zertosh@gmail.com>2019-07-28 13:41:17 -0400
commit3d08775266eb1979956b03add38e6bd4824f521a (patch)
treea043f6de866915df978bf7c166b7261b3c5d6335 /src
parent2a9df8afb951592252d5319c646fdd99ec9891c3 (diff)
downloadmilf-rs-3d08775266eb1979956b03add38e6bd4824f521a.tar.gz
milf-rs-3d08775266eb1979956b03add38e6bd4824f521a.zip
Show "column" in Error messages
Diffstat (limited to 'src')
-rw-r--r--src/de.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/de.rs b/src/de.rs
index 077c008..f65492d 100644
--- a/src/de.rs
+++ b/src/de.rs
@@ -1845,7 +1845,7 @@ impl fmt::Display for Error {
}
if let Some(line) = self.inner.line {
- write!(f, " at line {}", line + 1)?;
+ write!(f, " at line {} column {}", line + 1, self.inner.col + 1)?;
}
Ok(())