dtolnay/syn (syn)
### [`v2.0.60`](https://togithub.com/dtolnay/syn/releases/tag/2.0.60)
[Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.59...2.0.60)
- Improve how None-delimited groups are counted by `peek` ([#1625](https://togithub.com/dtolnay/syn/issues/1625))
### [`v2.0.59`](https://togithub.com/dtolnay/syn/releases/tag/2.0.59)
[Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.58...2.0.59)
- Parse `c"…"` and `cr"…"` C-string literal syntax as `Lit::CStr` ([#1502](https://togithub.com/dtolnay/syn/issues/1502))
### [`v2.0.58`](https://togithub.com/dtolnay/syn/releases/tag/2.0.58)
[Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.57...2.0.58)
- Support `$` in `custom_punctuation!` macro ([#1611](https://togithub.com/dtolnay/syn/issues/1611))
### [`v2.0.57`](https://togithub.com/dtolnay/syn/releases/tag/2.0.57)
[Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.56...2.0.57)
- Eliminate dependency on `quote` when built with default-features disabled and the "proc-macro" feature enabled ([#1608](https://togithub.com/dtolnay/syn/issues/1608), thanks [@BD103](https://togithub.com/BD103))
### [`v2.0.56`](https://togithub.com/dtolnay/syn/releases/tag/2.0.56)
[Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.55...2.0.56)
- Apply RUSTC_WORKSPACE_WRAPPER when deciding whether to run nightly-only tests ([#1605](https://togithub.com/dtolnay/syn/issues/1605))
### [`v2.0.55`](https://togithub.com/dtolnay/syn/releases/tag/2.0.55)
[Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.54...2.0.55)
- Restore compatibility with rustc 1.56 through 1.59 ([#1603](https://togithub.com/dtolnay/syn/issues/1603))
### [`v2.0.54`](https://togithub.com/dtolnay/syn/releases/tag/2.0.54)
[Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.53...2.0.54)
- Fix dead code warning in generated code when using `custom_keyword!` with syn's "printing" feature disabled ([#1602](https://togithub.com/dtolnay/syn/issues/1602))
### [`v2.0.53`](https://togithub.com/dtolnay/syn/releases/tag/2.0.53)
[Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.52...2.0.53)
- Implement Copy, Clone, and ToTokens for syn::parse::Nothing ([#1597](https://togithub.com/dtolnay/syn/issues/1597))
### [`v2.0.52`](https://togithub.com/dtolnay/syn/releases/tag/2.0.52)
[Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.51...2.0.52)
- Add an expression parser that uses match-arm's boundary rules ([#1593](https://togithub.com/dtolnay/syn/issues/1593))
### [`v2.0.51`](https://togithub.com/dtolnay/syn/releases/tag/2.0.51)
[Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.50...2.0.51)
- Resolve non_local_definitions warnings in generated code under rustc 1.78-nightly
### [`v2.0.50`](https://togithub.com/dtolnay/syn/releases/tag/2.0.50)
[Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.49...2.0.50)
- Fix unused_imports warnings when compiled by rustc 1.78
### [`v2.0.49`](https://togithub.com/dtolnay/syn/releases/tag/2.0.49)
[Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.48...2.0.49)
- Improve error location when parsing from an empty string literal using `LitStr::parse` ([#1590](https://togithub.com/dtolnay/syn/issues/1590))
### [`v2.0.48`](https://togithub.com/dtolnay/syn/releases/tag/2.0.48)
[Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.47...2.0.48)
- Improve error message on unexpected token after `else` ([#1578](https://togithub.com/dtolnay/syn/issues/1578))
### [`v2.0.47`](https://togithub.com/dtolnay/syn/releases/tag/2.0.47)
[Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.46...2.0.47)
- Improve error messages related to proc_macro::LexError ([#1575](https://togithub.com/dtolnay/syn/issues/1575))
### [`v2.0.46`](https://togithub.com/dtolnay/syn/releases/tag/2.0.46)
[Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.45...2.0.46)
- Update proc-macro2 to fix caching issue when using a rustc-wrapper such as sccache
### [`v2.0.45`](https://togithub.com/dtolnay/syn/releases/tag/2.0.45)
[Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.44...2.0.45)
- Parse unsupported expressions in enum discriminants of `DeriveInput` as `Expr::Verbatim` in non-"full" mode, instead of error ([#1513](https://togithub.com/dtolnay/syn/issues/1513))
- Support parsing `PatType` with `parse_quote!` ([#1573](https://togithub.com/dtolnay/syn/issues/1573))
### [`v2.0.44`](https://togithub.com/dtolnay/syn/releases/tag/2.0.44)
[Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.43...2.0.44)
- Documentation improvements
### [`v2.0.43`](https://togithub.com/dtolnay/syn/releases/tag/2.0.43)
[Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.42...2.0.43)
- Insert trailing comma if not already present when printing a 1-tuple in pattern position ([#1553](https://togithub.com/dtolnay/syn/issues/1553))
### [`v2.0.42`](https://togithub.com/dtolnay/syn/releases/tag/2.0.42)
[Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.41...2.0.42)
- Documentation improvements
### [`v2.0.41`](https://togithub.com/dtolnay/syn/releases/tag/2.0.41)
[Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.40...2.0.41)
- Support parsing syn::Field in `parse_quote!` ([#1548](https://togithub.com/dtolnay/syn/issues/1548))
### [`v2.0.40`](https://togithub.com/dtolnay/syn/releases/tag/2.0.40)
[Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.39...2.0.40)
- Fix some edge cases of handling None-delimited groups in expression parser ([#1539](https://togithub.com/dtolnay/syn/issues/1539), [#1541](https://togithub.com/dtolnay/syn/issues/1541), [#1542](https://togithub.com/dtolnay/syn/issues/1542), [#1543](https://togithub.com/dtolnay/syn/issues/1543), [#1544](https://togithub.com/dtolnay/syn/issues/1544), [#1545](https://togithub.com/dtolnay/syn/issues/1545))
### [`v2.0.39`](https://togithub.com/dtolnay/syn/releases/tag/2.0.39)
[Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.38...2.0.39)
- Fix parsing of return expression in match guards ([#1528](https://togithub.com/dtolnay/syn/issues/1528))
- Improve error message on labeled loop as value expression for break ([#1531](https://togithub.com/dtolnay/syn/issues/1531))
### [`v2.0.38`](https://togithub.com/dtolnay/syn/releases/tag/2.0.38)
[Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.37...2.0.38)
- Fix *"method 'peek' has an incompatible type for trait"* error when defining `bool` as a custom keyword ([#1518](https://togithub.com/dtolnay/syn/issues/1518), thanks [@Vanille-N](https://togithub.com/Vanille-N))
### [`v2.0.37`](https://togithub.com/dtolnay/syn/releases/tag/2.0.37)
[Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.36...2.0.37)
- Work around incorrect future compatibility warning in rustc 1.74.0-nightly
### [`v2.0.36`](https://togithub.com/dtolnay/syn/releases/tag/2.0.36)
[Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.35...2.0.36)
- Restore compatibility with `--generate-link-to-definition` documentation builds ([#1514](https://togithub.com/dtolnay/syn/issues/1514))
### [`v2.0.35`](https://togithub.com/dtolnay/syn/releases/tag/2.0.35)
[Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.34...2.0.35)
- Make rust-analyzer produce preferred brackets for invocations of `Token!` macro ([#1510](https://togithub.com/dtolnay/syn/issues/1510), [#1512](https://togithub.com/dtolnay/syn/issues/1512))
### [`v2.0.34`](https://togithub.com/dtolnay/syn/releases/tag/2.0.34)
[Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.33...2.0.34)
- Documentation improvements
### [`v2.0.33`](https://togithub.com/dtolnay/syn/releases/tag/2.0.33)
[Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.32...2.0.33)
- Special handling for the `(/*ERROR*/)` placeholder that rustc uses for macros that fail to expand
### [`v2.0.32`](https://togithub.com/dtolnay/syn/releases/tag/2.0.32)
[Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.31...2.0.32)
- Add `Path::require_ident` accessor ([#1496](https://togithub.com/dtolnay/syn/issues/1496), thanks [@Fancyflame](https://togithub.com/Fancyflame))
### [`v2.0.31`](https://togithub.com/dtolnay/syn/releases/tag/2.0.31)
[Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.30...2.0.31)
- Parse generics and where-clause on const items ([https://github.com/rust-lang/rust/issues/113521](https://togithub.com/rust-lang/rust/issues/113521))
### [`v2.0.30`](https://togithub.com/dtolnay/syn/releases/tag/2.0.30)
[Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.29...2.0.30)
- Parse unnamed struct/union type syntax ([https://github.com/rust-lang/rust/issues/49804](https://togithub.com/rust-lang/rust/issues/49804))
### [`v2.0.29`](https://togithub.com/dtolnay/syn/releases/tag/2.0.29)
[Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.28...2.0.29)
- Partially work around rust-analyzer bug ([https://github.com/rust-lang/rust-analyzer/issues/9911](https://togithub.com/rust-lang/rust-analyzer/issues/9911))
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
2
->2.0.60
Release Notes
dtolnay/syn (syn)
### [`v2.0.60`](https://togithub.com/dtolnay/syn/releases/tag/2.0.60) [Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.59...2.0.60) - Improve how None-delimited groups are counted by `peek` ([#1625](https://togithub.com/dtolnay/syn/issues/1625)) ### [`v2.0.59`](https://togithub.com/dtolnay/syn/releases/tag/2.0.59) [Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.58...2.0.59) - Parse `c"…"` and `cr"…"` C-string literal syntax as `Lit::CStr` ([#1502](https://togithub.com/dtolnay/syn/issues/1502)) ### [`v2.0.58`](https://togithub.com/dtolnay/syn/releases/tag/2.0.58) [Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.57...2.0.58) - Support `$` in `custom_punctuation!` macro ([#1611](https://togithub.com/dtolnay/syn/issues/1611)) ### [`v2.0.57`](https://togithub.com/dtolnay/syn/releases/tag/2.0.57) [Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.56...2.0.57) - Eliminate dependency on `quote` when built with default-features disabled and the "proc-macro" feature enabled ([#1608](https://togithub.com/dtolnay/syn/issues/1608), thanks [@BD103](https://togithub.com/BD103)) ### [`v2.0.56`](https://togithub.com/dtolnay/syn/releases/tag/2.0.56) [Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.55...2.0.56) - Apply RUSTC_WORKSPACE_WRAPPER when deciding whether to run nightly-only tests ([#1605](https://togithub.com/dtolnay/syn/issues/1605)) ### [`v2.0.55`](https://togithub.com/dtolnay/syn/releases/tag/2.0.55) [Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.54...2.0.55) - Restore compatibility with rustc 1.56 through 1.59 ([#1603](https://togithub.com/dtolnay/syn/issues/1603)) ### [`v2.0.54`](https://togithub.com/dtolnay/syn/releases/tag/2.0.54) [Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.53...2.0.54) - Fix dead code warning in generated code when using `custom_keyword!` with syn's "printing" feature disabled ([#1602](https://togithub.com/dtolnay/syn/issues/1602)) ### [`v2.0.53`](https://togithub.com/dtolnay/syn/releases/tag/2.0.53) [Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.52...2.0.53) - Implement Copy, Clone, and ToTokens for syn::parse::Nothing ([#1597](https://togithub.com/dtolnay/syn/issues/1597)) ### [`v2.0.52`](https://togithub.com/dtolnay/syn/releases/tag/2.0.52) [Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.51...2.0.52) - Add an expression parser that uses match-arm's boundary rules ([#1593](https://togithub.com/dtolnay/syn/issues/1593)) ### [`v2.0.51`](https://togithub.com/dtolnay/syn/releases/tag/2.0.51) [Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.50...2.0.51) - Resolve non_local_definitions warnings in generated code under rustc 1.78-nightly ### [`v2.0.50`](https://togithub.com/dtolnay/syn/releases/tag/2.0.50) [Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.49...2.0.50) - Fix unused_imports warnings when compiled by rustc 1.78 ### [`v2.0.49`](https://togithub.com/dtolnay/syn/releases/tag/2.0.49) [Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.48...2.0.49) - Improve error location when parsing from an empty string literal using `LitStr::parse` ([#1590](https://togithub.com/dtolnay/syn/issues/1590)) ### [`v2.0.48`](https://togithub.com/dtolnay/syn/releases/tag/2.0.48) [Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.47...2.0.48) - Improve error message on unexpected token after `else` ([#1578](https://togithub.com/dtolnay/syn/issues/1578)) ### [`v2.0.47`](https://togithub.com/dtolnay/syn/releases/tag/2.0.47) [Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.46...2.0.47) - Improve error messages related to proc_macro::LexError ([#1575](https://togithub.com/dtolnay/syn/issues/1575)) ### [`v2.0.46`](https://togithub.com/dtolnay/syn/releases/tag/2.0.46) [Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.45...2.0.46) - Update proc-macro2 to fix caching issue when using a rustc-wrapper such as sccache ### [`v2.0.45`](https://togithub.com/dtolnay/syn/releases/tag/2.0.45) [Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.44...2.0.45) - Parse unsupported expressions in enum discriminants of `DeriveInput` as `Expr::Verbatim` in non-"full" mode, instead of error ([#1513](https://togithub.com/dtolnay/syn/issues/1513)) - Support parsing `PatType` with `parse_quote!` ([#1573](https://togithub.com/dtolnay/syn/issues/1573)) ### [`v2.0.44`](https://togithub.com/dtolnay/syn/releases/tag/2.0.44) [Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.43...2.0.44) - Documentation improvements ### [`v2.0.43`](https://togithub.com/dtolnay/syn/releases/tag/2.0.43) [Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.42...2.0.43) - Insert trailing comma if not already present when printing a 1-tuple in pattern position ([#1553](https://togithub.com/dtolnay/syn/issues/1553)) ### [`v2.0.42`](https://togithub.com/dtolnay/syn/releases/tag/2.0.42) [Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.41...2.0.42) - Documentation improvements ### [`v2.0.41`](https://togithub.com/dtolnay/syn/releases/tag/2.0.41) [Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.40...2.0.41) - Support parsing syn::Field in `parse_quote!` ([#1548](https://togithub.com/dtolnay/syn/issues/1548)) ### [`v2.0.40`](https://togithub.com/dtolnay/syn/releases/tag/2.0.40) [Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.39...2.0.40) - Fix some edge cases of handling None-delimited groups in expression parser ([#1539](https://togithub.com/dtolnay/syn/issues/1539), [#1541](https://togithub.com/dtolnay/syn/issues/1541), [#1542](https://togithub.com/dtolnay/syn/issues/1542), [#1543](https://togithub.com/dtolnay/syn/issues/1543), [#1544](https://togithub.com/dtolnay/syn/issues/1544), [#1545](https://togithub.com/dtolnay/syn/issues/1545)) ### [`v2.0.39`](https://togithub.com/dtolnay/syn/releases/tag/2.0.39) [Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.38...2.0.39) - Fix parsing of return expression in match guards ([#1528](https://togithub.com/dtolnay/syn/issues/1528)) - Improve error message on labeled loop as value expression for break ([#1531](https://togithub.com/dtolnay/syn/issues/1531)) ### [`v2.0.38`](https://togithub.com/dtolnay/syn/releases/tag/2.0.38) [Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.37...2.0.38) - Fix *"method 'peek' has an incompatible type for trait"* error when defining `bool` as a custom keyword ([#1518](https://togithub.com/dtolnay/syn/issues/1518), thanks [@Vanille-N](https://togithub.com/Vanille-N)) ### [`v2.0.37`](https://togithub.com/dtolnay/syn/releases/tag/2.0.37) [Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.36...2.0.37) - Work around incorrect future compatibility warning in rustc 1.74.0-nightly ### [`v2.0.36`](https://togithub.com/dtolnay/syn/releases/tag/2.0.36) [Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.35...2.0.36) - Restore compatibility with `--generate-link-to-definition` documentation builds ([#1514](https://togithub.com/dtolnay/syn/issues/1514)) ### [`v2.0.35`](https://togithub.com/dtolnay/syn/releases/tag/2.0.35) [Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.34...2.0.35) - Make rust-analyzer produce preferred brackets for invocations of `Token!` macro ([#1510](https://togithub.com/dtolnay/syn/issues/1510), [#1512](https://togithub.com/dtolnay/syn/issues/1512)) ### [`v2.0.34`](https://togithub.com/dtolnay/syn/releases/tag/2.0.34) [Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.33...2.0.34) - Documentation improvements ### [`v2.0.33`](https://togithub.com/dtolnay/syn/releases/tag/2.0.33) [Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.32...2.0.33) - Special handling for the `(/*ERROR*/)` placeholder that rustc uses for macros that fail to expand ### [`v2.0.32`](https://togithub.com/dtolnay/syn/releases/tag/2.0.32) [Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.31...2.0.32) - Add `Path::require_ident` accessor ([#1496](https://togithub.com/dtolnay/syn/issues/1496), thanks [@Fancyflame](https://togithub.com/Fancyflame)) ### [`v2.0.31`](https://togithub.com/dtolnay/syn/releases/tag/2.0.31) [Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.30...2.0.31) - Parse generics and where-clause on const items ([https://github.com/rust-lang/rust/issues/113521](https://togithub.com/rust-lang/rust/issues/113521)) ### [`v2.0.30`](https://togithub.com/dtolnay/syn/releases/tag/2.0.30) [Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.29...2.0.30) - Parse unnamed struct/union type syntax ([https://github.com/rust-lang/rust/issues/49804](https://togithub.com/rust-lang/rust/issues/49804)) ### [`v2.0.29`](https://togithub.com/dtolnay/syn/releases/tag/2.0.29) [Compare Source](https://togithub.com/dtolnay/syn/compare/2.0.28...2.0.29) - Partially work around rust-analyzer bug ([https://github.com/rust-lang/rust-analyzer/issues/9911](https://togithub.com/rust-lang/rust-analyzer/issues/9911))Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.