-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Macro expansion in for trait items #34183
Comments
My use case is generating trait extensions for a builder object for the Rust version of Flatbuffers: google/flatbuffers#3894 |
I think we probably could, I'm in no great rush, but it seems like a good thing. |
This was fixed in #34213. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I see that in
ast.rs
there is no expectation for macro items inside a trait:Is there a reason for this? I would like to build up Trait definitions via macros the same way I would build a struct or impl items using macros.
The text was updated successfully, but these errors were encountered: