diff --git a/src/parse_quote.rs b/src/parse_quote.rs index 22cd98eff..fa7ea79f4 100644 --- a/src/parse_quote.rs +++ b/src/parse_quote.rs @@ -153,6 +153,17 @@ impl ParseQuote for Attribute { } } +#[cfg(any(feature = "full", feature = "derive"))] +impl ParseQuote for Vec { + fn parse(input: ParseStream) -> Result { + let mut attrs = Vec::new(); + while !input.is_empty() { + attrs.push(ParseQuote::parse(input)?); + } + Ok(attrs) + } +} + #[cfg(any(feature = "full", feature = "derive"))] impl ParseQuote for Field { fn parse(input: ParseStream) -> Result {