about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorMara Bos <m-ou.se@m-ou.se>2021-04-21 23:06:14 +0200
committerGitHub <noreply@github.com>2021-04-21 23:06:14 +0200
commit31b83802a409dd06bd0fac1d343960b8d788de40 (patch)
tree7a8420d5453d822c2317762006f5bbae889f10d7 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parent3897ad11284af5c6a9e31a13453525c4913c0f4e (diff)
parentd45e1314f36ac249e8fb7d9564362ac8f94e49be (diff)
downloadrust-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 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions