get serde to compile

This commit is contained in:
Erick Tryzelaar 2015-02-15 22:03:32 -08:00
parent 67d7ac4468
commit c327eb50fd

View File

@ -45,7 +45,7 @@ use syntax::ext::deriving::generic::ty::{
Literal,
Path,
Ptr,
Self,
Self_,
Tuple,
borrowed_explicit_self,
};
@ -232,7 +232,7 @@ pub fn expand_derive_deserialize(cx: &mut ExtCtxt,
vec!("std", "result", "Result"),
None,
vec!(
Box::new(Self),
Box::new(Self_),
Box::new(Literal(Path::new_local("__E")))
),
true