Releases: dtolnay/syn
Releases · dtolnay/syn
2.0.69
Correctly parenthesize labeled loops inside a break value (#1692 )
Add Punctuated::get
and get_mut
(#1693 )
2.0.68
Improve panic location when parse_quote!
parses invalid syntax (#1690 , thanks @stepancheg )
More efficient peek implementation for Group
and Lifetime
(#1687 )
2.0.67
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
Allow braced structs when parsing ExprLet (#1671 )
2.0.65
Optimize the implementation of Fold
to compile faster (#1666 , #1667 , #1668 )
2.0.64
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
Parse and print long if-else-if chains without reliance on deep recursion to avoid overflowing stack (#1644 , #1645 )
2.0.62
Reject invalid unparenthesized range and comparison operator expressions (#1642 , #1643 )
2.0.61
Check for legal binding name in the ident of Pat::Ident (#1627 )
Resolve unexpected_cfgs warning (#1635 )
2.0.60
Improve how None-delimited groups are counted by peek
(#1625 )
You can’t perform that action at this time.