about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorBastian Kauschke <bastian_kauschke@hotmail.de>2020-07-15 09:59:08 +0200
committerBastian Kauschke <bastian_kauschke@hotmail.de>2020-07-15 10:20:44 +0200
commitfcf52c167f9280efe332557195998650a99bf437 (patch)
tree3b1aac0ac54c8fbf8be8484b4696d72efcfa08d2 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parent567ad7455d5f25f6b38d2fded1cb621e0c34a48b (diff)
downloadrust-fcf52c167f9280efe332557195998650a99bf437.tar.gz
rust-fcf52c167f9280efe332557195998650a99bf437.zip
improve DiscriminantKind handling
This now reuses `fn discriminant_ty` in project, removing
some code duplication. Doing so made me realize that
we previously had a disagreement about the discriminant
type of generators, with MIR using `u32` and codegen and
trait selection using `i32`.

We now always use `u32`.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions