aboutsummaryrefslogtreecommitdiffstats
path: root/components/derive_common/cg.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/derive_common/cg.rs')
-rw-r--r--components/derive_common/cg.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/components/derive_common/cg.rs b/components/derive_common/cg.rs
index 26a32ccd89a..021c47e79ef 100644
--- a/components/derive_common/cg.rs
+++ b/components/derive_common/cg.rs
@@ -4,11 +4,11 @@
use darling::{FromDeriveInput, FromField, FromVariant};
use proc_macro2::{Span, TokenStream};
-use quote::{quote, TokenStreamExt};
+use quote::TokenStreamExt;
use syn::{
- self, parse_quote, AngleBracketedGenericArguments, AssocType, DeriveInput, Field,
- GenericArgument, GenericParam, Ident, Path, PathArguments, PathSegment, QSelf, Type, TypeArray,
- TypeGroup, TypeParam, TypeParen, TypePath, TypeSlice, TypeTuple, Variant, WherePredicate,
+ self, AngleBracketedGenericArguments, AssocType, DeriveInput, Field, GenericArgument,
+ GenericParam, Ident, Path, PathArguments, PathSegment, QSelf, Type, TypeArray, TypeGroup,
+ TypeParam, TypeParen, TypePath, TypeSlice, TypeTuple, Variant, WherePredicate,
};
use synstructure::{self, BindStyle, BindingInfo, VariantAst, VariantInfo};