about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/coverage/json.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-02-03 22:02:26 +0000
committerbors <bors@rust-lang.org>2020-02-03 22:02:26 +0000
commit42a0bd2091b9ca8fe5059fd5f4a26279a388f278 (patch)
tree3c70d4208ec24e0d6f5d92aebdfda8ca77371e7d /src/test/rustdoc-ui/coverage/json.rs
parent8417d68de5e063426ab6bb7f383df6117d1beeed (diff)
parent8dbbe4d14467d95d89ca3dff9054522f32cc12e8 (diff)
downloadrust-42a0bd2091b9ca8fe5059fd5f4a26279a388f278.tar.gz
rust-42a0bd2091b9ca8fe5059fd5f4a26279a388f278.zip
Auto merge of #67668 - matthewjasper:or-patterns, r=pnkfelix
Implement MIR lowering for or-patterns

This is the last thing needed to get meaningful run-pass tests for or-patterns. There probably need to be more tests before stabilizing this, but the most important cases should have been covered.

Note: we can generate exponentially large MIR CFGs when using or-patterns containing bindings, type ascriptions, or that are for a match arm with a guard. `src/test/mir-opt/exponential-or.rs` shows the best case for what we currently do.

cc #54883
closes #60350
closes #67514

cc @Centril
r? @pnkfelix
Diffstat (limited to 'src/test/rustdoc-ui/coverage/json.rs')
0 files changed, 0 insertions, 0 deletions