proc-macro2

Test `extern crate proc_macro2 as proc_macro;`

APACHE-2.0 License

Downloads
444.4M
Stars
678
Committers
30
proc-macro2 -

Published by dtolnay about 4 years ago

  • Fix several bugs involving lexing of integer and float tokens with unusual suffixes (#252, #253, #254, #255)
proc-macro2 -

Published by dtolnay about 4 years ago

proc-macro2 -

Published by dtolnay about 4 years ago

  • Match libproc_macro's rendering of whitespace in groups (#246, #247, thanks @Koxiaet)
proc-macro2 -

Published by dtolnay over 4 years ago

  • Remove procmacro2_semver_exempt feature gate on all methods stabilized in Rust 1.45 (#243)
proc-macro2 -

Published by dtolnay over 4 years ago

  • Fix discrepancy with libproc_macro in handling of negative numbers in token streams (#235)
proc-macro2 -

Published by dtolnay over 4 years ago

  • Allow using proc_macro2::fallback::force() from 1.0.12 at the same time as proc-macro2 = { default-features = false } (#233)
proc-macro2 -

Published by dtolnay over 4 years ago

proc-macro2 -

Published by dtolnay over 4 years ago

  • Support parsing arbitrarily deeply nested token streams without using excessive stack space (#231, #232)
proc-macro2 -

Published by dtolnay over 4 years ago

  • Add Span::mixed_site(), which is behind cfg(procmacro2_semver_exempt) for now but will be stabilized when Rust 1.45 is released (#228, thanks @kevinmehall)
  • Update LineColumn::column to match libproc_macro's column computation, which is character-based (#229, thanks @jrvidal)
proc-macro2 -

Published by dtolnay over 4 years ago

  • Parse literal suffix on byte string, byte, and char literal tokens: br#"..."#suffix, b'?'suffix, '?'suffix
proc-macro2 -

Published by dtolnay over 4 years ago

  • Add a way to force avoid using the compiler's libproc_macro implementation even when available (#220)
proc-macro2 -

Published by dtolnay over 4 years ago

(yanked)

proc-macro2 -

Published by dtolnay over 4 years ago

  • Enable span-locations feature when building for play.rust-lang.org
proc-macro2 -

Published by dtolnay over 4 years ago

  • Match the escaping behavior of libproc_macro when displaying non-ascii strings and characters
proc-macro2 -

Published by dtolnay almost 5 years ago

proc-macro2 -

Published by dtolnay almost 5 years ago

  • Return meaningful spans from Group::span_open and Group::span_close when running with span-locations feature enabled outside of a procedural macro
proc-macro2 -

Published by dtolnay almost 5 years ago

  • No code changes.

Just retriggering a docs.rs build because 1.0.5 failed. See https://github.com/alexcrichton/proc-macro2/issues/203 and https://github.com/rust-lang/docs.rs/issues/440.

proc-macro2 -

Published by dtolnay about 5 years ago

  • Improve performance of impl Extend<TokenTree> for TokenStream (#198)
proc-macro2 -

Published by dtolnay about 5 years ago

  • Add Literal::subspan method to match libproc_macro (#195)
proc-macro2 -

Published by dtolnay about 5 years ago

  • Treat dev builds of rustc the same as a nightly, with unstable features available