Closed apodemakeles closed 2 months ago
This passes in the reference implementation, so it is definitely possible to implement as shown.
If you take this question to any of the resources shown in https://www.rust-lang.org/community, plenty of people have experience writing macros and should be able to help you sort it out.
Hi, my code failed when executing seq test case 03, the output is:
I even tried to print the result TokenStream before returning and it looks totally correct (begin with "compile_error" as ident). Download someone else's code from github and test, same output...
rust version: 1.75.0
dependencies:
repository: https://github.com/apodemakeles/proc-macro-workshop/blob/seq/seq/src/lib.rs