@@ -261,7 +261,7 @@ fn json_encode<'a, T:Encodable<json::Encoder<'a>, io::IoError>>(t: &T) -> ~str {
261
261
}
262
262
263
263
// FIXME(#5121)
264
- fn json_decode < T : Decodable < json:: Decoder , json:: Error > > ( s : & str ) -> T {
264
+ fn json_decode < T : Decodable < json:: Decoder , json:: DecoderError > > ( s : & str ) -> T {
265
265
debug ! ( "json decoding: {}" , s) ;
266
266
let j = json:: from_str ( s) . unwrap ( ) ;
267
267
let mut decoder = json:: Decoder :: new ( j) ;
@@ -394,14 +394,14 @@ impl<'a> Prep<'a> {
394
394
395
395
pub fn exec < ' a , T : Send +
396
396
Encodable < json:: Encoder < ' a > , io:: IoError > +
397
- Decodable < json:: Decoder , json:: Error > > (
397
+ Decodable < json:: Decoder , json:: DecoderError > > (
398
398
& ' a self , blk : proc ( & mut Exec ) : Send -> T ) -> T {
399
399
self . exec_work ( blk) . unwrap ( )
400
400
}
401
401
402
402
fn exec_work < ' a , T : Send +
403
403
Encodable < json:: Encoder < ' a > , io:: IoError > +
404
- Decodable < json:: Decoder , json:: Error > > ( // FIXME(#5121)
404
+ Decodable < json:: Decoder , json:: DecoderError > > ( // FIXME(#5121)
405
405
& ' a self , blk : proc ( & mut Exec ) : Send -> T ) -> Work < ' a , T > {
406
406
let mut bo = Some ( blk) ;
407
407
@@ -445,7 +445,7 @@ impl<'a> Prep<'a> {
445
445
446
446
impl < ' a , T : Send +
447
447
Encodable < json:: Encoder < ' a > , io:: IoError > +
448
- Decodable < json:: Decoder , json:: Error > >
448
+ Decodable < json:: Decoder , json:: DecoderError > >
449
449
Work < ' a , T > { // FIXME(#5121)
450
450
451
451
pub fn from_value ( elt : T ) -> Work < ' a , T > {
0 commit comments