Fix plugin use of de::SeqVisitor

When compiling a module with a struct containing a derive_deserialize
annotation, the compiler was complaining "Use of undeclared type or
module `de`".
This commit is contained in:
Hugo Duncan 2015-03-04 17:40:45 -05:00
parent e7ce710da5
commit 3c4eddc7f8

View File

@ -832,7 +832,7 @@ fn deserialize_struct_empty_fields(
#[inline]
fn visit_seq<V>(&mut self, mut visitor: V) -> Result<$type_ident, V::Error>
where V: de::SeqVisitor,
where V: ::serde2::de::SeqVisitor,
{
try!(visitor.end());
self.visit_unit()