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, Literal,
Path, Path,
Ptr, Ptr,
Self, Self_,
Tuple, Tuple,
borrowed_explicit_self, borrowed_explicit_self,
}; };
@ -232,7 +232,7 @@ pub fn expand_derive_deserialize(cx: &mut ExtCtxt,
vec!("std", "result", "Result"), vec!("std", "result", "Result"),
None, None,
vec!( vec!(
Box::new(Self), Box::new(Self_),
Box::new(Literal(Path::new_local("__E"))) Box::new(Literal(Path::new_local("__E")))
), ),
true true