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 committed 2023-07-19 09:08:05 -07:00
1 parent be9c3fd69d
commit 2ef1cd4b35
20 files changed
+34 -29

No files matched your search

+2 -2
View File
@@ -5,8 +5,8 @@
)]
#![cfg_attr(feature = "unstable", feature(never_type))]
use serde::de::IntoDeserializer;
use serde::Deserialize;
use serde::de::{Deserialize, IntoDeserializer};
use serde_derive::Deserialize;
use serde_test::{assert_de_tokens_error, Token};
use std::collections::{BTreeMap, BTreeSet, HashMap, HashSet};
use std::ffi::{CStr, CString};