Eliminate #[macro_use] from serde_derive

This commit is contained in:
David Tolnay
2023-07-25 18:32:02 -07:00
parent dd9913675d
commit 0fb672a1ef
13 changed files with 18 additions and 20 deletions
+1
View File
@@ -3,6 +3,7 @@ use crate::internals::{attr, ungroup};
use proc_macro2::Span;
use std::collections::HashSet;
use syn::punctuated::{Pair, Punctuated};
use syn::Token;
// Remove the default from every type parameter because in the generated impls
// they look like associated types: "error: associated type bindings are not