We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When working with many macros, looking at the expanded macro output of the whole crate doesn't scale.
There should be an option to only show the expanded macros from a given module / source file.
E.g. in one case I have 81733 lines in the expanded macro output from cargo rustc -- -Z unstable-options --pretty=expanded...
cargo rustc -- -Z unstable-options --pretty=expanded
The text was updated successfully, but these errors were encountered:
I should have reported this when dtolnay/cargo-expand#8 was filed, but 👍 from me and 👍👍👍👍👍👍👍👍👍👍👍👍 from 12 people over there.
Sorry, something went wrong.
I implemented a workaround in cargo-expand 0.4 for now by filtering the compiler's output through Syn. For example you can run:
$ cargo expand punctuated::printing
$ cargo expand token::FatArrow
No branches or pull requests
When working with many macros, looking at the expanded macro output of the whole crate doesn't scale.
There should be an option to only show the expanded macros from a given module / source file.
E.g. in one case I have 81733 lines in the expanded macro output from
cargo rustc -- -Z unstable-options --pretty=expanded
...The text was updated successfully, but these errors were encountered: