mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-26 05:07:56 +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]
|
||||
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()
|
||||
|
||||
Reference in New Issue
Block a user