mirror of
https://github.com/servo/servo.git
synced 2025-08-09 15:35:34 +01:00
Update syn and related dependencies
This commit is contained in:
parent
e4c80d0a88
commit
e94de4e1bd
22 changed files with 215 additions and 226 deletions
|
@ -4,11 +4,12 @@
|
|||
|
||||
use crate::animate::{AnimationFieldAttrs, AnimationInputAttrs, AnimationVariantAttrs};
|
||||
use crate::cg;
|
||||
use quote;
|
||||
use proc_macro2::TokenStream;
|
||||
use quote::TokenStreamExt;
|
||||
use syn;
|
||||
use synstructure;
|
||||
|
||||
pub fn derive(mut input: syn::DeriveInput) -> quote::Tokens {
|
||||
pub fn derive(mut input: syn::DeriveInput) -> TokenStream {
|
||||
let animation_input_attrs = cg::parse_input_attrs::<AnimationInputAttrs>(&input);
|
||||
let no_bound = animation_input_attrs.no_bound.unwrap_or_default();
|
||||
let mut where_clause = input.generics.where_clause.take();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue