Closed
Description
When writing a macro_rules!
macro that expands to another macro_rules!
macro, the Rustdoc shows the source-code tokens pre-outer-macro-expansion in the rules for the inner macro. I was expecting to see something like the expansion in trace_macros!()
, which does have the post-expansion rules.
Meta
rustdoc --version --verbose
:
rustdoc 1.53.0
binary: rustdoc
commit-hash: unknown
commit-date: unknown
host: x86_64-unknown-linux-gnu
release: 1.53.0
LLVM version: 12.0.1