-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
syntax: Box ast::MacArgs
in attributes
#66999
Conversation
r? @eddyb (rust_highfive has picked a reviewer for you, use r? to override) |
@bors try @rust-timer queue |
Awaiting bors try build completion |
syntax: Box `ast::MacArgs` in attributes This reduces size of doc comments at cost of an allocation / indirection in regular attributes. Fn-like macros already have `MacArgs` boxed.
☀️ Try build successful - checks-azure |
Queued 737ec5e with parent f577b0e, future comparison URL. |
r? @Centril r=me with improved perf |
Finished benchmarking try commit 737ec5e, comparison URL. |
Doesn't look like an improvement. |
Bummer; thanks for following up anyways! |
This reduces size of doc comments at cost of an allocation / indirection in regular attributes.
Fn-like macros already have
MacArgs
boxed.Follow-up to #66935.