Instead of requesting the region maps for the entire crate, request for a given item etc. Several bits of code were modified to take `&RegionMaps` as input (e.g., the `resolve_regions_and_report_errors()` function). I am not totally happy with this setup -- I *think* I'd rather have the region maps be part of typeck tables -- but at least the `RegionMaps` works in a "parallel" way to `FreeRegionMap`, so it's not too bad. Given that I expect a lot of this code to go away with NLL, I didn't want to invest *too* much energy tweaking it. |
||
|---|---|---|
| .. | ||
| _match.rs | ||
| Cargo.toml | ||
| check_match.rs | ||
| diagnostics.rs | ||
| eval.rs | ||
| lib.rs | ||
| pattern.rs | ||