Commit 3175409
committed
Rework
Now `Fields` is just a `Vec` of patterns, with some extra info on the
side to reconstruct patterns when needed. This emphasizes that this
extra info is not central to the algorithm.Fields internals.1 parent 87a0a25 commit 3175409
3 files changed
Lines changed: 197 additions & 242 deletions
File tree
- compiler/rustc_mir_build/src/thir/pattern
- src/test/ui/pattern/usefulness
0 commit comments