diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2020-07-15 11:01:20 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-15 11:01:20 -0700 |
| commit | 47f6a9d797e5d0a6e35fac2a903f47ad65bb4c4a (patch) | |
| tree | 9ff14cd7f738cadcb096deb1d49989b0d83c45d6 /src/test/codegen/src-hash-algorithm | |
| parent | 0d07db98ab5870c269493cb9fba9376b9477d4b4 (diff) | |
| parent | fcf52c167f9280efe332557195998650a99bf437 (diff) | |
| download | rust-47f6a9d797e5d0a6e35fac2a903f47ad65bb4c4a.tar.gz rust-47f6a9d797e5d0a6e35fac2a903f47ad65bb4c4a.zip | |
Rollup merge of #74276 - lcnr:discriminant-kind-what, r=nagisa
improve DiscriminantKind handling Adds a lang item `discriminant_type` for the associated type `DiscriminantKind::Discriminant`. Changes the discriminant of generators from `i32` to `u32`, which should not be observable to fix an oversight where MIR was using `u32` and codegen and typeck used `i32`.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions
