mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
19f6ff0655
match lowering: Hide `Candidate` from outside the lowering algorithm The internals of `Candidate` are tricky and a source of confusion. This PR makes it so we don't expose `Candidate`s outside the lowering algorithm. Now: - false edges are handled in `lower_match_tree`; - `lower_match_tree` takes a list of patterns as input; - `lower_match_tree` returns a flat datastructure that contains only the necessary information. r? ```@matthewjasper``` |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
messages.ftl |