github dtolnay/syn 0.13.0

latest releases: 2.0.60, 2.0.59, 2.0.58...
6 years ago
  • Update to proc-macro2 0.3
  • Rename => token to FatArrow
  • Rename Expr::AddrOf to Expr::Reference for consistency with Type::Reference
  • Support crate visibility shorthand in Visibility enum (rust-lang/rust#45388)
  • Eliminate runtime dependency on libproc_macro if "proc-macro" feature is disabled (#363, thanks @staktrace)
  • Make signature of Lifetime::new consistent with Ident::new
  • Parse optional vert at the beginning of a match arm (rust-lang/rust#44101)
  • Support nested import syntax (rust-lang/rust#44494)
  • Eliminate the unused second type parameter of Punctuated iterators
  • Allow inner attributes within impl blocks
  • Support for generator movability syntax, static || {/* ... */}
  • Accept multiple patterns in if-let and while-let (rust-lang/rust#48215)
  • Preserve parentheses around trait bounds; this is important for dyn (rust-lang/rust#49218)

Don't miss a new syn release

NewReleases is sending notifications on new releases.