Open
Description
openedon Apr 21, 2019
I have the suspicion there are a lot of restrictions for patterns that are undocumented.
One example: E0009 where a pattern "cannot bind by-move and by-ref in the same pattern"
See all the restrictions in check_legality_of_move_bindings
and check_legality_of_bindings_in_at_patterns
.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment