From bbc167cde968aa2ad10e97f1223b8d6ff6eaf47f Mon Sep 17 00:00:00 2001 From: Erick Tryzelaar Date: Wed, 12 Aug 2015 23:01:49 -0700 Subject: Get serde feature compiling again --- tests/serde.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/serde.rs b/tests/serde.rs index 4c0cc96..f4af529 100644 --- a/tests/serde.rs +++ b/tests/serde.rs @@ -87,7 +87,7 @@ fn application_decode_error() { fn deserialize(d: &mut D) -> Result { let x: usize = try!(Deserialize::deserialize(d)); if x > 10 { - Err(serde::de::Error::syntax_error()) + Err(serde::de::Error::syntax("more than 10")) } else { Ok(Range10(x)) } -- cgit v1.2.3