mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-06-12 22:31:02 +00:00
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:
@@ -832,7 +832,7 @@ fn deserialize_struct_empty_fields(
|
|||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
fn visit_seq<V>(&mut self, mut visitor: V) -> Result<$type_ident, V::Error>
|
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());
|
try!(visitor.end());
|
||||||
self.visit_unit()
|
self.visit_unit()
|
||||||
|
|||||||
Reference in New Issue
Block a user