Update syn crate from 1.0.109 to 2.0.101 (#31301)

Nearly all generated by Zed Agent + Claude Opus 4. I just wrote the test
`Args` struct and pointed it at the [2.0 release
notes](https://github.com/dtolnay/syn/releases/tag/2.0.0).

Release Notes:

- N/A
This commit is contained in:
Michael Sloan 2025-05-23 13:31:25 -06:00 committed by GitHub
parent 208f525a11
commit f3c2e71ca7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 155 additions and 90 deletions

View file

@ -23,7 +23,7 @@ enum DynamicSpacingValue {
impl Parse for DynamicSpacingInput {
fn parse(input: ParseStream) -> syn::Result<Self> {
Ok(DynamicSpacingInput {
values: input.parse_terminated(DynamicSpacingValue::parse)?,
values: input.parse_terminated(DynamicSpacingValue::parse, Token![,])?,
})
}
}