You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(debug): dump attribute which is local expand (see example) #308
Hi. I assume by "expand" you refer to the cargo-expand CLI tool?
cargo-expand does lack the ability to do granual expansion of a specific macro - that's why I have never been using it. Instead, I use Rust Analyzer's command "Epand macro recursively" that can be invoked on a specific macro.
There is a demo of doing this with bon's macros here. Having that feature of Rust Analyzer I never had a need for a special dump attribute.
Activity
Veetaha commentedon Jun 25, 2025
Hi. I assume by "expand" you refer to the
cargo-expandCLI tool?cargo-expanddoes lack the ability to do granual expansion of a specific macro - that's why I have never been using it. Instead, I use Rust Analyzer's command "Epand macro recursively" that can be invoked on a specific macro.There is a demo of doing this with
bon's macros here. Having that feature of Rust Analyzer I never had a need for a specialdumpattribute.