diff options
| author | bors <bors@rust-lang.org> | 2018-01-21 12:05:49 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-01-21 12:05:49 +0000 |
| commit | 3001ab10b96dd495f4c579936a592dc993388568 (patch) | |
| tree | 554732e36fddc7b5f7f04503565dc569d2a48698 /src/rustllvm/PassWrapper.cpp | |
| parent | 9368a1e3e2b5f27438754c149948a877edbcd767 (diff) | |
| parent | 98fbccee0c7bd740ff5173d4e3ab7666433f470b (diff) | |
| download | rust-3001ab10b96dd495f4c579936a592dc993388568.tar.gz rust-3001ab10b96dd495f4c579936a592dc993388568.zip | |
Auto merge of #47001 - arielb1:private-match, r=nikomatsakis
check_match: fix handling of privately uninhabited types the match-checking code used to use TyErr for signaling "unknown, inhabited" types for a long time. It had been switched to using the exact type in #38069, to handle uninhabited types. However, in #39980, we discovered that we still needed the "unknown inhabited" logic, but I used `()` instead of `TyErr` to handle that. Revert to using `TyErr` to fix that problem. Fixes #46964. r? @nikomatsakis
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
