From c327eb50fd20c9f458cd79b14d742303082e4970 Mon Sep 17 00:00:00 2001 From: Erick Tryzelaar Date: Sun, 15 Feb 2015 22:03:32 -0800 Subject: [PATCH] get serde to compile --- serde_macros/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/serde_macros/src/lib.rs b/serde_macros/src/lib.rs index 9dacb721..3a1621a6 100644 --- a/serde_macros/src/lib.rs +++ b/serde_macros/src/lib.rs @@ -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