-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
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
RFE: Marking all pub API of modules/structs at once #19
Comments
To some degree (i.e. sans visibility constraint) could easily do this with apply_attr like this: #![cfg_attr(feature = "flame_it", apply_attr(to(fns, impls(fns)), as_default(flame)))] … will apply </shameless plug> |
So you'd like a |
First, I didn't realize that I can do Now, after using that, I can see that being able to limit it to only |
Also, another thing I noticed is that |
Huh? That one is new. I think it may have to do with some recent changes in the AST logic. |
It would be great to have a way of marking all
pub fn
of modules, structs, ... marked for flaming using one single command.Currently, I add
to all
pub fn
of major modules and structs manually.The text was updated successfully, but these errors were encountered: