Closed benkay86 closed 5 years ago
This is working fine for me.
This is even tested there:
What version are you using? What error do you get?
You are quite right, this issue is invalid. The compiler was generating a misleading error from within the macro for a more complicated test case. The macro is working exactly as it should.
What was the misleading error? Perhaps this can be improved?
Would it be possible to add support for using the cpp! macro without passing anything in from rust? For symmetry one might add support to the rust! macro to do the same. For example: