From 3d08775266eb1979956b03add38e6bd4824f521a Mon Sep 17 00:00:00 2001 From: Andres Suarez Date: Sun, 28 Jul 2019 17:40:49 +0000 Subject: Show "column" in Error messages --- src/de.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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(()) -- cgit v1.2.3