diff options
| author | Dylan MacKenzie <ecstaticmorse@gmail.com> | 2020-03-03 11:26:51 -0800 |
|---|---|---|
| committer | Dylan MacKenzie <ecstaticmorse@gmail.com> | 2020-03-03 11:26:52 -0800 |
| commit | e82ec2315e5adb1c291c3702cd2ac1f46ecd0fcf (patch) | |
| tree | 9d92f05fe6bf15126a7d6520637ef200071e5576 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | b135c739fb542d2c78e30f3e945ff3e528942190 (diff) | |
| download | rust-e82ec2315e5adb1c291c3702cd2ac1f46ecd0fcf.tar.gz rust-e82ec2315e5adb1c291c3702cd2ac1f46ecd0fcf.zip | |
Use correct place for `enum_place`
PR #69562, which fixed a bug that was causing clippy to ICE, passed the place for the *result* of `Rvalue::Discriminant` instead of the *operand* to `apply_discriminant_switch_effect`. As a result, no effect was applied at all, and we lost the perf benefits from marking inactive enum variants as uninitialized.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
