Replies: 3 comments 1 reply
-
@utaal @tjhance (btw, do lemme know if I don't need to ping here) |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yeah I expect this would be easy to support. |
Beta Was this translation helpful? Give feedback.
0 replies
-
This is supported as of bc267e3 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey there!
Clearly this is a known thing lacking support, but I just wanted to start this thread asking why it's currently unsupported and what level of work it would require to support?
I ran into the error
error: The verifier does not yet support the following Rust feature: complex tuple/struct patterns
when using thematches!
macro to check that an enum instance is of a specific variant.When I'm matching I don't care about the contents of the enum, so I tried writing:
But that's when I got the error message "error: The verifier does not yet support the following Rust feature: complex tuple/struct patterns".
Currently to get around this I write:
And that compiles fine. It seems like supporting
..
shouldn't be too bad, but is this error message is referring to more patternsthan just
..
?Beta Was this translation helpful? Give feedback.
All reactions