-
Notifications
You must be signed in to change notification settings - Fork 967
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
Add special handling of Extension
and Clone
for debug_handler
#2294
Comments
Macros operate on the syntax tree and therefore don't generally have knowledge as to whether a trait is implemented for a type. I'm not sure if it's possible to make a check for this using similar techniques from |
@loganbnielsen If you look at the existing checks in |
I can publish a PR for this today |
Go ahead! This issue is I'll also assign the issue to you so it's easy to see that it has somebody working on it. |
PR request here. |
To help with cases like #2293
Basically generate
T: Clone
forExtension<T>
arguments.We already do something similar for argument ordering so should be possible to extend that.
The text was updated successfully, but these errors were encountered: