Hi,
Is it somehow possible to destructure a nested enum if the inner values are boxed?
Here is an example code with the issue: Rust Playground
Thanks in advance.
Hi,
Is it somehow possible to destructure a nested enum if the inner values are boxed?
Here is an example code with the issue: Rust Playground
Thanks in advance.
On nightly you can use box
patterns, like box Expr::Val(_)
.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.