Fix test issue-4016.rs with the json API change

This commit is contained in:
Nicolas Silva 2014-04-27 22:57:10 +02:00
parent a539b0d583
commit 02c45dece4

View file

@ -13,7 +13,7 @@ extern crate serialize;
use serialize::{json, Decodable};
trait JD : Decodable<json::Decoder, json::Error> { }
trait JD : Decodable<json::Decoder, json::DecoderError> { }
fn exec<T: JD>() {
let doc = json::from_str("").unwrap();