diff options
| author | Mara Bos <m-ou.se@m-ou.se> | 2021-04-21 23:06:14 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-21 23:06:14 +0200 |
| commit | 31b83802a409dd06bd0fac1d343960b8d788de40 (patch) | |
| tree | 7a8420d5453d822c2317762006f5bbae889f10d7 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 3897ad11284af5c6a9e31a13453525c4913c0f4e (diff) | |
| parent | d45e1314f36ac249e8fb7d9564362ac8f94e49be (diff) | |
| download | rust-31b83802a409dd06bd0fac1d343960b8d788de40.tar.gz rust-31b83802a409dd06bd0fac1d343960b8d788de40.zip | |
Rollup merge of #84212 - CDirkx:void, r=m-ou-se
Replace `Void` in `sys` with never type
This PR replaces several occurrences in `sys` of the type `enum Void {}` with the Rust never type (`!`).
The name `Void` is unfortunate because in other languages (C etc.) it refers to a unit type, not an uninhabited type.
Note that the previous stabilization of the never type was reverted, however all uses here are implementation details and not publicly visible.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
