From c5eed99c6a63a28b9ce1ffe5a22ac8201a958802 Mon Sep 17 00:00:00 2001 From: Hugo Duncan Date: Fri, 1 May 2015 17:59:49 -0400 Subject: [PATCH] Make forwarded trait name global --- serde_macros/src/de.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/serde_macros/src/de.rs b/serde_macros/src/de.rs index 56b13927..2372232a 100644 --- a/serde_macros/src/de.rs +++ b/serde_macros/src/de.rs @@ -208,6 +208,7 @@ fn deserialize_visitor( fn deserializer_ty_param(builder: &aster::AstBuilder) -> ast::TyParam { builder.ty_param("__D") .trait_bound(builder.path() + .global() .segment("serde").build() .segment("de").build() .id("Deserializer")