Skip to content

Releases: dtolnay/syn

2.0.71

12 Jul 13:05
2.0.71
f34dc7b
Compare
Choose a tag to compare
  • Do not require mutable borrow in Punctuated::get() (#1706, thanks @lemunozm)

2.0.70

08 Jul 18:54
2.0.70
5c67e26
Compare
Choose a tag to compare

2.0.69

06 Jul 22:39
2.0.69
d4a0ff5
Compare
Choose a tag to compare
  • Correctly parenthesize labeled loops inside a break value (#1692)
  • Add Punctuated::get and get_mut (#1693)

2.0.68

23 Jun 21:03
2.0.68
ecb0429
Compare
Choose a tag to compare
  • Improve panic location when parse_quote! parses invalid syntax (#1690, thanks @stepancheg)
  • More efficient peek implementation for Group and Lifetime (#1687)

2.0.67

20 Jun 23:46
2.0.67
25f6299
Compare
Choose a tag to compare
  • Produce more accurate error message locations for errors located at the end of a nested group (#1679, #1680)
  • Support peeking LitCStr in ParseStream::peek (#1682)

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)