Use compile error in proc macro#2186
Conversation
plebhash
left a comment
There was a problem hiding this comment.
non-blocking clanker suggestion:
add compile-fail tests (e.g., in binary-sv2 tests) for unsupported syntax + reserved field names so this behavior stays locked in and future refactors don’t reintroduce panic paths
8843c24 to
c0e0d6b
Compare
We have another issue on proc macro to restrict binary_sv2 only for sv2 types, maybe this can be added then. |
can you please take note there? |
Done |
closes: #2166