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
+1 -1
View File
@@ -5,7 +5,7 @@
#[test]
fn test_gen_custom_serde() {
#[derive(serde::Serialize, serde::Deserialize)]
#[derive(serde_derive::Serialize, serde_derive::Deserialize)]
#[serde(crate = "fake_serde")]
struct Foo;