proc-macro2Removed wrap proc-macro for correct span outside rust sources Not use in proc-macro context if you don't know what you do
A substitute implementation of the compiler's
Most types in this crate are
!Sync because the underlying compiler
types make use of thread-local memory, meaning they cannot be accessed from
a different thread.
Public implementation details for the
A delimited token stream.
A word of Rust code, which may be a keyword or legal variable name.
Error returned from
A line-column pair representing the start or end of a
A literal string (
The source file of a given
A region of source code, along with macro expansion information.
An abstract stream of tokens, or more concretely a sequence of token trees.
Describes how a sequence of token trees is delimited.
A single token or a delimited sequence of token trees (e.g.