about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2017-03-17 09:51:31 -0400
committerNiko Matsakis <niko@alum.mit.edu>2017-03-30 07:55:29 -0400
commit56847af9163284f928d5632a3d0d29399716414f (patch)
treec24655c7585a84a0e9f09db0d3552b11af72ed0c /src/rustllvm/RustWrapper.cpp
parentdad314040764122fc78a7f8b70ffa9ef77bde3c5 (diff)
downloadrust-56847af9163284f928d5632a3d0d29399716414f.tar.gz
rust-56847af9163284f928d5632a3d0d29399716414f.zip
port the match code to use `CoerceMany`
`match { }` now (correctly?) indicates divergence, which results in more
unreachable warnings. We also avoid fallback to `!` if there is just one
arm (see new test: `match-unresolved-one-arm.rs`).
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions