diff options
| author | Bastian Kauschke <bastian_kauschke@hotmail.de> | 2020-07-15 09:59:08 +0200 |
|---|---|---|
| committer | Bastian Kauschke <bastian_kauschke@hotmail.de> | 2020-07-15 10:20:44 +0200 |
| commit | fcf52c167f9280efe332557195998650a99bf437 (patch) | |
| tree | 3b1aac0ac54c8fbf8be8484b4696d72efcfa08d2 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
| parent | 567ad7455d5f25f6b38d2fded1cb621e0c34a48b (diff) | |
| download | rust-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
