Test `extern crate proc_macro2 as proc_macro;`
APACHE-2.0 License
Add Cargo cfg "span-locations"
to expose Span::start
and Span::end
accessors that give the line and column location of a Span (#166)
Be aware that this involves storing more information than before inside of Spans which increases their size -- leading to possibly slower performance of any code involving proc-macro2 types (but only when the cfg is enabled).
proc_macro2::FileName
in favor of PathBuf
(https://github.com/rust-lang/rust/commit/e5e29d1a1976ff7d0b39ade8706ca0e3ddebe7a9)Send
and Sync
impls of semver exempt type SourceFile
(#141)