Skip to content

Releases: dtolnay/syn

2.0.66

23 May 23:04
2.0.66
b992916
Compare
Choose a tag to compare
  • Allow braced structs when parsing ExprLet (#1671)

2.0.65

19 May 19:37
2.0.65
9f2371e
Compare
Choose a tag to compare
  • Optimize the implementation of Fold to compile faster (#1666, #1667, #1668)

2.0.64

16 May 17:15
2.0.64
98a62cb
Compare
Choose a tag to compare
  • Support using ParseBuffer across catch_unwind (#1646)
  • Validate that the expression in a let-else ends in brace as required by rustc (#1648, #1649)
  • Legalize invalid const generic arguments by wrapping in braces (#1654, #1655)
  • Fix some expression precedence edge cases involving break and return in loop headers (#1656)
  • Always print closure bodies with a brace when the closure has an explicit return type (#1658)
  • Automatically insert necessary parentheses in ToTokens for Expr when required by expression precedence (#1659)
  • Support struct literal syntax in match guard expressions (#1662)

2.0.63

11 May 19:11
2.0.63
8bcd277
Compare
Choose a tag to compare
  • Parse and print long if-else-if chains without reliance on deep recursion to avoid overflowing stack (#1644, #1645)

2.0.62

11 May 03:32
2.0.62
e9e6329
Compare
Choose a tag to compare
  • Reject invalid unparenthesized range and comparison operator expressions (#1642, #1643)

2.0.61

07 May 01:56
2.0.61
e2abd39
Compare
Choose a tag to compare
  • Check for legal binding name in the ident of Pat::Ident (#1627)
  • Resolve unexpected_cfgs warning (#1635)

2.0.60

17 Apr 19:10
2.0.60
7029b22
Compare
Choose a tag to compare
  • Improve how None-delimited groups are counted by peek (#1625)

2.0.59

15 Apr 00:59
2.0.59
922ea2d
Compare
Choose a tag to compare
  • Parse c"…" and cr"…" C-string literal syntax as Lit::CStr (#1502)

2.0.58

03 Apr 01:58
2.0.58
81adad6
Compare
Choose a tag to compare
  • Support $ in custom_punctuation! macro (#1611)

2.0.57

30 Mar 03:04
2.0.57
9cea040
Compare
Choose a tag to compare
  • Eliminate dependency on quote when built with default-features disabled and the "proc-macro" feature enabled (#1608, thanks @BD103)