-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Cannot use Macros in Trait Bodies #11403
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Labels
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
Comments
Duplicate of #4621 |
Closing as a dupe. |
Hmm, this doesn’t seem to be fixed. Macros work in |
Triage: no change, other than removing the macro_rules. I don't believe that we're planning on improving the current macro_rules at all, instead focusing on the next-gen macro system. Also, this feels like this would require an RFC. so closing. |
flip1995
pushed a commit
to flip1995/rust
that referenced
this issue
Sep 7, 2023
Ignore wildcards in function arguments and local bindings Fix rust-lang#11403 changelog: none
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
I would have expected this to work, but it does not:
Currently fails with this error:
The text was updated successfully, but these errors were encountered: