Sourced from syn's releases.
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
andreturn
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)
98a62cb
Release 2.0.641f8eddb
Merge pull request #1662
from dtolnay/guardstruct0a3d3bd
Fix parsing of struct literal in match guard expressionf464193
Merge pull request #1659
from dtolnay/needsparafa1c72
Add more auto-parenthesization tests532d3a3
Insert necessary parentheses in ToTokens for Expr1b6a450
Add test of parenthesis insertion by Expr's ToTokens83ea289
Merge pull request #1658
from dtolnay/closurebrace206d897
Create braces around closure body during printing if needed9b60027
Ignore struct_excessive_bools pedantic clippy lint