Import macros exclusively through serde_derive in test suite

This makes it easier to execute tests against the precompiled serde_derive.
This commit is contained in:
David Tolnay
2023-07-19 08:54:11 -07:00
parent be9c3fd69d
commit 2ef1cd4b35
20 changed files with 34 additions and 29 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
#![allow(clippy::derive_partial_eq_without_eq, clippy::similar_names)]
use serde::de::value::{self, MapAccessDeserializer};
use serde::de::{IntoDeserializer, MapAccess, Visitor};
use serde::{Deserialize, Deserializer};
use serde::de::{Deserialize, Deserializer, IntoDeserializer, MapAccess, Visitor};
use serde_derive::Deserialize;
use serde_test::{assert_de_tokens, Token};
use std::fmt;