spanr
A tool for procedural macro authors to be able to interactively view and debug
the Span
s on generated code.
Screenshot
Example usage
Building
This crate relies on unstable features from the proc-macro2
crate, so it must
be built using a nightly compiler, and the RUSTFLAGS
environment variable
must be configured:
RUSTFLAGS='--cfg procmacro2_semver_exempt'