diff options
| author | bors <bors@rust-lang.org> | 2016-11-23 11:16:22 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-11-23 11:16:22 -0600 |
| commit | d515586465522c615f8ae6c5d61deedea61126e1 (patch) | |
| tree | d1ddd32d93ff74d68d74aece84692e26b64c075b /src/rustllvm/RustWrapper.cpp | |
| parent | 127a83df6615d09cda6ed9b53f7daba2d78c925d (diff) | |
| parent | 2121118f5401d84975f7910e0b71b32e74b990ec (diff) | |
| download | rust-d515586465522c615f8ae6c5d61deedea61126e1.tar.gz rust-d515586465522c615f8ae6c5d61deedea61126e1.zip | |
Auto merge of #36449 - canndrew:expand_is_uninhabited, r=eddyb
Expand is_uninhabited
This allows code such as this to compile:
``` rust
let x: ! = ...;
match x {};
let y: (u32, !) = ...;
match y {};
```
@eddyb You were worried about making this change. Do you have any idea about what could break? Are there any special tests that need to be written for it?
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
