Closed ktsakas closed 1 year ago
Uff, painful oversight on my part when trying to fix #4. Can you verify that your code works with structstruck 0.4.1?
I was playing around in my local machine so I don't have the code anymore, but from the test case in the commit the fix looks good.
I was writing a proc macro using the
syn
library and had the following code:In the output I see:
This should be valid I was able to do this in my structs before nesting them.
PS. I am getting around this by using
type Brace = token::Brace
, but it makes things harder to read.