Skip to content

Commit 02c45de

Browse files
committed
Fix test issue-4016.rs with the json API change
1 parent a539b0d commit 02c45de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/run-pass/issue-4016.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ extern crate serialize;
1313

1414
use serialize::{json, Decodable};
1515

16-
trait JD : Decodable<json::Decoder, json::Error> { }
16+
trait JD : Decodable<json::Decoder, json::DecoderError> { }
1717

1818
fn exec<T: JD>() {
1919
let doc = json::from_str("").unwrap();

0 commit comments

Comments
 (0)