Expand description
MIR lowering for patterns
Macrosยง
- not_
supported ๐
Enumsยง
- AdtPattern
Shape ๐ - Matching
Mode ๐ - We need to do pattern matching in two phases: One to check if the pattern matches, and one to fill the bindings of patterns. This is necessary to prevent double moves and similar problems. For example: