Skip to content

Releases: dtolnay/syn

2.0.106

16 Aug 00:41
2.0.106
0e4bc64
Compare
Choose a tag to compare
  • Replace ~const syntax with [const] conditionally const syntax in trait bounds (#1896, rust-lang/rust#139858)
  • Support conditionally const impl Trait types (#1897)
  • Reject polarity modifier and lifetime binder used in the same trait bound (#1899, rust-lang/rust#127054)
  • Parse const trait bounds with bound lifetimes (#1902)
  • Parse bound lifetimes with lifetime bounds (#1903)
  • Allow type parameters and const parameters in trait bounds and generic closures (#1904, #1907, #1908, #1909)

2.0.105

13 Aug 16:34
2.0.105
9a8cc49
Compare
Choose a tag to compare

2.0.104

20 Jun 20:33
2.0.104
2283a98
Compare
Choose a tag to compare
  • Disallow attributes on range expression (#1872)

2.0.103

13 Jun 02:47
2.0.103
85d4276
Compare
Choose a tag to compare
  • Insert parentheses around binary operation with attribute (#1871)

2.0.102

10 Jun 01:53
2.0.102
b1cc559
Compare
Choose a tag to compare
  • Fix printing of nested Expr::Index and Expr::Tuple in non-full mode (#1869)

2.0.101

26 Apr 19:45
2.0.101
58336a3
Compare
Choose a tag to compare
  • Improve TypeGenerics::as_turbofish to return longer-lived return value (#1861)

2.0.100

09 Mar 21:24
2.0.100
5357c8f
Compare
Choose a tag to compare
  • Add Visit::visit_token_stream, VisitMut::visit_token_stream_mut, Fold::fold_token_stream for processing TokenStream during syntax tree traversals (#1852)

2.0.99

03 Mar 07:50
2.0.99
4552057
Compare
Choose a tag to compare
  • Documentation improvements

2.0.98

02 Feb 01:06
2.0.98
71f3808
Compare
Choose a tag to compare
  • Allow lifetimes in function pointer return values in ParseStream::call and Punctuated parsers (#1847)

2.0.97

01 Feb 19:52
2.0.97
d15bdea
Compare
Choose a tag to compare
  • Documentation improvements