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:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2021-08-24 18:56:24 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2021-08-24 19:24:07 +0100
commit848a38ac9d9bc956cded893bdd55e1171a2706dd (patch)
tree2917447f42f4470a34e9ef5b586a0d4ee7cb415c /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parent47ab5f7ce27397310bd8359b8db1504fbf8a9b59 (diff)
downloadrust-848a38ac9d9bc956cded893bdd55e1171a2706dd.tar.gz
rust-848a38ac9d9bc956cded893bdd55e1171a2706dd.zip
Manual Debug for Unix ExitCode ExitStatus ExitStatusError
These structs have misleading names.  An ExitStatus[Error] is actually
a Unix wait status; an ExitCode is actually an exit status.

The Display impls are fixed, but the Debug impls are still misleading,
as reported in #74832.

Fix this by pretending that these internal structs are called
`unix_exit_status` and `unix_wait_status` as applicable.  (We can't
actually rename the structs because of the way that the cross-platform
machinery works: the names are cross-platform.)

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions