diff options
| author | bors <bors@rust-lang.org> | 2022-07-05 09:36:29 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-07-05 09:36:29 +0000 |
| commit | 53792b9c5c3cded466a073e4b9a9e51d0007b9ab (patch) | |
| tree | b05bde5cea72745097189ea09cdcb03b55c6453c /src/test/rustdoc/impl-box.rs | |
| parent | 4045ce641a9eede71cc12031a2cd71692b273890 (diff) | |
| parent | 82c73af4a60c5c9b4ac92813a9f5e902ada67e6b (diff) | |
| download | rust-53792b9c5c3cded466a073e4b9a9e51d0007b9ab.tar.gz rust-53792b9c5c3cded466a073e4b9a9e51d0007b9ab.zip | |
Auto merge of #96862 - oli-obk:enum_cast_mir, r=RalfJung
Change enum->int casts to not go through MIR casts. follow-up to https://github.com/rust-lang/rust/pull/96814 this simplifies all backends and even gives LLVM more information about the return value of `Rvalue::Discriminant`, enabling optimizations in more cases.
Diffstat (limited to 'src/test/rustdoc/impl-box.rs')
0 files changed, 0 insertions, 0 deletions
