_match.rs: prune sub-match tree too aggressively
The `_match.rs` takes advantage of passes prior to `trans` and aggressively prunes the sub-match tree based on exact equality. When it comes to literal or range, the strategy may lead to wrong result if there's guard function or multiple patterns inside tuple. Closes #12582. Closes #13027.
Showing
src/test/run-pass/issue-12582.rs
0 → 100644
src/test/run-pass/issue-13027.rs
0 → 100644
想要评论请 注册 或 登录