diff options
author | Erick Tryzelaar <erick.tryzelaar@gmail.com> | 2015-08-12 23:01:49 -0700 |
---|---|---|
committer | Erick Tryzelaar <erick.tryzelaar@gmail.com> | 2015-08-12 23:01:49 -0700 |
commit | bbc167cde968aa2ad10e97f1223b8d6ff6eaf47f (patch) | |
tree | 9270e1cc9ed2e460882114fe1db920eb0ee75e95 /tests | |
parent | 4e0172a9a510bdd4468dc22c562d79c3c5449daa (diff) | |
download | milf-rs-bbc167cde968aa2ad10e97f1223b8d6ff6eaf47f.tar.gz milf-rs-bbc167cde968aa2ad10e97f1223b8d6ff6eaf47f.zip |
Get serde feature compiling again
Diffstat (limited to 'tests')
-rw-r--r-- | tests/serde.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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: Deserializer>(d: &mut D) -> Result<Range10, D::Error> { 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)) } |