diff options
| author | Yuki Okushi <huyuumi.dev@gmail.com> | 2019-11-13 22:09:25 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-13 22:09:25 +0900 |
| commit | 60ba5c70fcba9a9ce3a9b86d9511e4df6ed4f22e (patch) | |
| tree | eb2fd449d6429fb005a4029972deb2babd1165e3 /src/libstd/sys | |
| parent | 1cbd34faf226f55265822773a6a24892dfe3d044 (diff) | |
| parent | e398d897b09f69bc4b5a1ab531db1c8742001bff (diff) | |
| download | rust-60ba5c70fcba9a9ce3a9b86d9511e4df6ed4f22e.tar.gz rust-60ba5c70fcba9a9ce3a9b86d9511e4df6ed4f22e.zip | |
Rollup merge of #66330 - Nadrieril:nonexhaustive-constructor, r=varkor
Improve non-exhaustiveness handling in usefulness checking The comments around code paths for the `non_exhaustive` feature mention stuff like "we act as if the type had an extra unmatcheable constructor". So I thought I'd make this explicit by defining a special constructor that does exactly this. This makes those code paths a bit more legible and less prone to error.
Diffstat (limited to 'src/libstd/sys')
0 files changed, 0 insertions, 0 deletions
