dtolnay/syn (syn)
### [`v2.0.87`](https://redirect.github.com/dtolnay/syn/releases/tag/2.0.87)
[Compare Source](https://redirect.github.com/dtolnay/syn/compare/2.0.86...2.0.87)
- Add [`Cursor::any_group`](https://docs.rs/syn/2/syn/buffer/struct.Cursor.html#method.any_group) ([#1777](https://redirect.github.com/dtolnay/syn/issues/1777))
- Add [`Expr::peek`](https://docs.rs/syn/2/syn/enum.Expr.html#method.peek) ([#1778](https://redirect.github.com/dtolnay/syn/issues/1778))
- Improve syntax support for enum discriminant expressions in non-"full" mode ([#1779](https://redirect.github.com/dtolnay/syn/issues/1779))
### [`v2.0.86`](https://redirect.github.com/dtolnay/syn/releases/tag/2.0.86)
[Compare Source](https://redirect.github.com/dtolnay/syn/compare/2.0.85...2.0.86)
- Support peeking the end of a parse stream ([#1689](https://redirect.github.com/dtolnay/syn/issues/1689))
- Allow `parse_quote!` to produce Vec\ ([#1775](https://redirect.github.com/dtolnay/syn/issues/1775))
### [`v2.0.85`](https://redirect.github.com/dtolnay/syn/releases/tag/2.0.85)
[Compare Source](https://redirect.github.com/dtolnay/syn/compare/2.0.84...2.0.85)
- Preserve extern static unsafety in ForeignItem::Verbatim ([#1773](https://redirect.github.com/dtolnay/syn/issues/1773))
### [`v2.0.84`](https://redirect.github.com/dtolnay/syn/releases/tag/2.0.84)
[Compare Source](https://redirect.github.com/dtolnay/syn/compare/2.0.83...2.0.84)
- Parse safe and explicitly unsafe extern items ([#1768](https://redirect.github.com/dtolnay/syn/issues/1768), [https://github.com/rust-lang/rust/issues/123743](https://redirect.github.com/rust-lang/rust/issues/123743), [https://github.com/rust-lang/rfcs/pull/3484](https://redirect.github.com/rust-lang/rfcs/pull/3484))
- Parse self captures: `impl Sized + use` ([#1772](https://redirect.github.com/dtolnay/syn/issues/1772))
### [`v2.0.83`](https://redirect.github.com/dtolnay/syn/releases/tag/2.0.83)
[Compare Source](https://redirect.github.com/dtolnay/syn/compare/2.0.82...2.0.83)
- Documentation improvements
### [`v2.0.82`](https://redirect.github.com/dtolnay/syn/releases/tag/2.0.82)
[Compare Source](https://redirect.github.com/dtolnay/syn/compare/2.0.81...2.0.82)
- Provide `Parse` impls for PreciseCapture and CapturedParam ([#1757](https://redirect.github.com/dtolnay/syn/issues/1757), [#1758](https://redirect.github.com/dtolnay/syn/issues/1758))
- Support parsing `unsafe` attributes ([#1759](https://redirect.github.com/dtolnay/syn/issues/1759))
- Add Fold and VisitMut methods for Vec\ ([#1762](https://redirect.github.com/dtolnay/syn/issues/1762))
### [`v2.0.81`](https://redirect.github.com/dtolnay/syn/releases/tag/2.0.81)
[Compare Source](https://redirect.github.com/dtolnay/syn/compare/2.0.80...2.0.81)
- Add TypeParamBound::PreciseCapture to represent precise capture syntax `impl Trait + use<'a, T>` ([#1752](https://redirect.github.com/dtolnay/syn/issues/1752), [#1753](https://redirect.github.com/dtolnay/syn/issues/1753), [#1754](https://redirect.github.com/dtolnay/syn/issues/1754))
### [`v2.0.80`](https://redirect.github.com/dtolnay/syn/releases/tag/2.0.80)
[Compare Source](https://redirect.github.com/dtolnay/syn/compare/2.0.79...2.0.80)
- Add `Expr::RawAddr` ([#1743](https://redirect.github.com/dtolnay/syn/issues/1743))
- Reject precise captures and ~const in inappropriate syntax positions ([#1747](https://redirect.github.com/dtolnay/syn/issues/1747))
- Reject trait bound containing only precise capture ([#1748](https://redirect.github.com/dtolnay/syn/issues/1748))
### [`v2.0.79`](https://redirect.github.com/dtolnay/syn/releases/tag/2.0.79)
[Compare Source](https://redirect.github.com/dtolnay/syn/compare/2.0.78...2.0.79)
- Fix infinite loop on parsing chained ranges ([#1741](https://redirect.github.com/dtolnay/syn/issues/1741))
- Fix panic in parsing `use` items containing absolute paths ([#1742](https://redirect.github.com/dtolnay/syn/issues/1742))
### [`v2.0.78`](https://redirect.github.com/dtolnay/syn/releases/tag/2.0.78)
[Compare Source](https://redirect.github.com/dtolnay/syn/compare/2.0.77...2.0.78)
- Fix infinite loop on chained comparison ([#1739](https://redirect.github.com/dtolnay/syn/issues/1739))
### [`v2.0.77`](https://redirect.github.com/dtolnay/syn/releases/tag/2.0.77)
[Compare Source](https://redirect.github.com/dtolnay/syn/compare/2.0.76...2.0.77)
- Support parsing `Expr::Tuple` in non-"full" mode ([#1727](https://redirect.github.com/dtolnay/syn/issues/1727))
### [`v2.0.76`](https://redirect.github.com/dtolnay/syn/releases/tag/2.0.76)
[Compare Source](https://redirect.github.com/dtolnay/syn/compare/2.0.75...2.0.76)
- Enforce that tail call `become` keyword is followed by an expression ([#1725](https://redirect.github.com/dtolnay/syn/issues/1725))
### [`v2.0.75`](https://redirect.github.com/dtolnay/syn/releases/tag/2.0.75)
[Compare Source](https://redirect.github.com/dtolnay/syn/compare/2.0.74...2.0.75)
- Automatically fill in missing turbofish when printing ExprPath and other paths in expression position ([#1722](https://redirect.github.com/dtolnay/syn/issues/1722))
### [`v2.0.74`](https://redirect.github.com/dtolnay/syn/releases/tag/2.0.74)
[Compare Source](https://redirect.github.com/dtolnay/syn/compare/2.0.73...2.0.74)
- Fix *"temporary is dropped and runs the destructor for type \`impl Iterator\`"* regression affecting certain use of `Generics` iterator methods ([#1719](https://redirect.github.com/dtolnay/syn/issues/1719))
### [`v2.0.73`](https://redirect.github.com/dtolnay/syn/releases/tag/2.0.73)
[Compare Source](https://redirect.github.com/dtolnay/syn/compare/2.0.72...2.0.73)
- Support parsing unnamed C varargs within function pointer types ([#1711](https://redirect.github.com/dtolnay/syn/issues/1711))
- Improve synthesized error message on unexpected tokens at the end of the expected contents of a delimited group ([#1713](https://redirect.github.com/dtolnay/syn/issues/1713))
- Support parsing unstable tail call syntax ([#1714](https://redirect.github.com/dtolnay/syn/issues/1714), [https://github.com/rust-lang/rust/issues/112788](https://redirect.github.com/rust-lang/rust/issues/112788))
- Add [`Fields::members`](https://docs.rs/syn/2.0.73/syn/enum.Fields.html#method.members) iterator ([#1716](https://redirect.github.com/dtolnay/syn/issues/1716), thanks [@Fancyflame](https://redirect.github.com/Fancyflame))
### [`v2.0.72`](https://redirect.github.com/dtolnay/syn/releases/tag/2.0.72)
[Compare Source](https://redirect.github.com/dtolnay/syn/compare/2.0.71...2.0.72)
- Parse `use<'a, T>` precise capturing bounds ([#1707](https://redirect.github.com/dtolnay/syn/issues/1707), thanks [@compiler-errors](https://redirect.github.com/compiler-errors))
### [`v2.0.71`](https://redirect.github.com/dtolnay/syn/releases/tag/2.0.71)
[Compare Source](https://redirect.github.com/dtolnay/syn/compare/2.0.70...2.0.71)
- Do not require mutable borrow in Punctuated::get() ([#1706](https://redirect.github.com/dtolnay/syn/issues/1706), thanks [@lemunozm](https://redirect.github.com/lemunozm))
### [`v2.0.70`](https://redirect.github.com/dtolnay/syn/releases/tag/2.0.70)
[Compare Source](https://redirect.github.com/dtolnay/syn/compare/2.0.69...2.0.70)
- Improve parenthesization of closures, jumps, ranges, chained comparisons, and let ([#1694](https://redirect.github.com/dtolnay/syn/issues/1694), [#1695](https://redirect.github.com/dtolnay/syn/issues/1695), [#1698](https://redirect.github.com/dtolnay/syn/issues/1698), [#1699](https://redirect.github.com/dtolnay/syn/issues/1699), [#1700](https://redirect.github.com/dtolnay/syn/issues/1700))
### [`v2.0.69`](https://redirect.github.com/dtolnay/syn/releases/tag/2.0.69)
[Compare Source](https://redirect.github.com/dtolnay/syn/compare/2.0.68...2.0.69)
- Correctly parenthesize labeled loops inside a break value ([#1692](https://redirect.github.com/dtolnay/syn/issues/1692))
- Add `Punctuated::get` and `get_mut` ([#1693](https://redirect.github.com/dtolnay/syn/issues/1693))
### [`v2.0.68`](https://redirect.github.com/dtolnay/syn/releases/tag/2.0.68)
[Compare Source](https://redirect.github.com/dtolnay/syn/compare/2.0.67...2.0.68)
- Improve panic location when `parse_quote!` parses invalid syntax ([#1690](https://redirect.github.com/dtolnay/syn/issues/1690), thanks [@stepancheg](https://redirect.github.com/stepancheg))
- More efficient peek implementation for `Group` and `Lifetime` ([#1687](https://redirect.github.com/dtolnay/syn/issues/1687))
### [`v2.0.67`](https://redirect.github.com/dtolnay/syn/releases/tag/2.0.67)
[Compare Source](https://redirect.github.com/dtolnay/syn/compare/2.0.66...2.0.67)
- Produce more accurate error message locations for errors located at the end of a nested group ([#1679](https://redirect.github.com/dtolnay/syn/issues/1679), [#1680](https://redirect.github.com/dtolnay/syn/issues/1680))
- Support peeking `LitCStr` in ParseStream::peek ([#1682](https://redirect.github.com/dtolnay/syn/issues/1682))
### [`v2.0.66`](https://redirect.github.com/dtolnay/syn/releases/tag/2.0.66)
[Compare Source](https://redirect.github.com/dtolnay/syn/compare/2.0.65...2.0.66)
- Allow braced structs when parsing ExprLet ([#1671](https://redirect.github.com/dtolnay/syn/issues/1671))
### [`v2.0.65`](https://redirect.github.com/dtolnay/syn/releases/tag/2.0.65)
[Compare Source](https://redirect.github.com/dtolnay/syn/compare/2.0.64...2.0.65)
- Optimize the implementation of `Fold` to compile faster ([#1666](https://redirect.github.com/dtolnay/syn/issues/1666), [#1667](https://redirect.github.com/dtolnay/syn/issues/1667), [#1668](https://redirect.github.com/dtolnay/syn/issues/1668))
### [`v2.0.64`](https://redirect.github.com/dtolnay/syn/releases/tag/2.0.64)
[Compare Source](https://redirect.github.com/dtolnay/syn/compare/2.0.63...2.0.64)
- Support using ParseBuffer across `catch_unwind` ([#1646](https://redirect.github.com/dtolnay/syn/issues/1646))
- Validate that the expression in a let-else ends in brace as required by rustc ([#1648](https://redirect.github.com/dtolnay/syn/issues/1648), [#1649](https://redirect.github.com/dtolnay/syn/issues/1649))
- Legalize invalid const generic arguments by wrapping in braces ([#1654](https://redirect.github.com/dtolnay/syn/issues/1654), [#1655](https://redirect.github.com/dtolnay/syn/issues/1655))
- Fix some expression precedence edge cases involving `break` and `return` in loop headers ([#1656](https://redirect.github.com/dtolnay/syn/issues/1656))
- Always print closure bodies with a brace when the closure has an explicit return type ([#1658](https://redirect.github.com/dtolnay/syn/issues/1658))
- Automatically insert necessary parentheses in ToTokens for Expr when required by expression precedence ([#1659](https://redirect.github.com/dtolnay/syn/issues/1659))
- Support struct literal syntax in match guard expressions ([#1662](https://redirect.github.com/dtolnay/syn/issues/1662))
### [`v2.0.63`](https://redirect.github.com/dtolnay/syn/releases/tag/2.0.63)
[Compare Source](https://redirect.github.com/dtolnay/syn/compare/2.0.62...2.0.63)
- Parse and print long if-else-if chains without reliance on deep recursion to avoid overflowing stack ([#1644](https://redirect.github.com/dtolnay/syn/issues/1644), [#1645](https://redirect.github.com/dtolnay/syn/issues/1645))
### [`v2.0.62`](https://redirect.github.com/dtolnay/syn/releases/tag/2.0.62)
[Compare Source](https://redirect.github.com/dtolnay/syn/compare/2.0.61...2.0.62)
- Reject invalid unparenthesized range and comparison operator expressions ([#1642](https://redirect.github.com/dtolnay/syn/issues/1642), [#1643](https://redirect.github.com/dtolnay/syn/issues/1643))
### [`v2.0.61`](https://redirect.github.com/dtolnay/syn/releases/tag/2.0.61)
[Compare Source](https://redirect.github.com/dtolnay/syn/compare/2.0.60...2.0.61)
- Check for legal binding name in the ident of Pat::Ident ([#1627](https://redirect.github.com/dtolnay/syn/issues/1627))
- Resolve unexpected_cfgs warning ([#1635](https://redirect.github.com/dtolnay/syn/issues/1635))
### [`v2.0.60`](https://redirect.github.com/dtolnay/syn/releases/tag/2.0.60)
[Compare Source](https://redirect.github.com/dtolnay/syn/compare/2.0.59...2.0.60)
- Improve how None-delimited groups are counted by `peek` ([#1625](https://redirect.github.com/dtolnay/syn/issues/1625))
### [`v2.0.59`](https://redirect.github.com/dtolnay/syn/releases/tag/2.0.59)
[Compare Source](https://redirect.github.com/dtolnay/syn/compare/2.0.58...2.0.59)
- Parse `c"…"` and `cr"…"` C-string literal syntax as `Lit::CStr` ([#1502](https://redirect.github.com/dtolnay/syn/issues/1502))
### [`v2.0.58`](https://redirect.github.com/dtolnay/syn/releases/tag/2.0.58)
[Compare Source](https://redirect.github.com/dtolnay/syn/compare/2.0.57...2.0.58)
- Support `$` in `custom_punctuation!` macro ([#1611](https://redirect.github.com/dtolnay/syn/issues/1611))
### [`v2.0.57`](https://redirect.github.com/dtolnay/syn/releases/tag/2.0.57)
[Compare Source](https://redirect.github.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://redirect.github.com/dtolnay/syn/issues/1608), thanks [@BD103](https://redirect.github.com/BD103))
### [`v2.0.56`](https://redirect.github.com/dtolnay/syn/releases/tag/2.0.56)
[Compare Source](https://redirect.github.com/dtolnay/syn/compare/2.0.55...2.0.56)
- Apply RUSTC_WORKSPACE_WRAPPER when deciding whether to run nightly-only tests ([#1605](https://redirect.github.com/dtolnay/syn/issues/1605))
### [`v2.0.55`](https://redirect.github.com/dtolnay/syn/releases/tag/2.0.55)
[Compare Source](https://redirect.github.com/dtolnay/syn/compare/2.0.54...2.0.55)
- Restore compatibility with rustc 1.56 through 1.59 ([#1603](https://redirect.github.com/dtolnay/syn/issues/1603))
### [`v2.0.54`](https://redirect.github.com/dtolnay/syn/releases/tag/2.0.54)
[Compare Source](https://redirect.github.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://redirect.github.com/dtolnay/syn/issues/1602))
### [`v2.0.53`](https://redirect.github.com/dtolnay/syn/releases/tag/2.0.53)
[Compare Source](https://redirect.github.com/dtolnay/syn/compare/2.0.52...2.0.53)
- Implement Copy, Clone, and ToTokens for syn::parse::Nothing ([#1597](https://redirect.github.com/dtolnay/syn/issues/1597))
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 contains the following updates:
2.0.52
->2.0.87
Release Notes
dtolnay/syn (syn)
### [`v2.0.87`](https://redirect.github.com/dtolnay/syn/releases/tag/2.0.87) [Compare Source](https://redirect.github.com/dtolnay/syn/compare/2.0.86...2.0.87) - Add [`Cursor::any_group`](https://docs.rs/syn/2/syn/buffer/struct.Cursor.html#method.any_group) ([#1777](https://redirect.github.com/dtolnay/syn/issues/1777)) - Add [`Expr::peek`](https://docs.rs/syn/2/syn/enum.Expr.html#method.peek) ([#1778](https://redirect.github.com/dtolnay/syn/issues/1778)) - Improve syntax support for enum discriminant expressions in non-"full" mode ([#1779](https://redirect.github.com/dtolnay/syn/issues/1779)) ### [`v2.0.86`](https://redirect.github.com/dtolnay/syn/releases/tag/2.0.86) [Compare Source](https://redirect.github.com/dtolnay/syn/compare/2.0.85...2.0.86) - Support peeking the end of a parse stream ([#1689](https://redirect.github.com/dtolnay/syn/issues/1689)) - Allow `parse_quote!` to produce Vec\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 was generated by Mend Renovate. View the repository job log.