Can't implement traits in declarative macros. #44128
Labels
A-decl-macros-2-0
Area: Declarative macros 2.0 (#39412)
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Implementing traits doesn't seem to work either in declarative macros. This code looks like it should compile:
But it does this instead:
The text was updated successfully, but these errors were encountered: