diff options
| author | Bryan Garza <1396101+bryangarza@users.noreply.github.com> | 2023-04-27 17:19:16 -0700 | 
|---|---|---|
| committer | Bryan Garza <1396101+bryangarza@users.noreply.github.com> | 2023-05-24 14:52:19 -0700 | 
| commit | 94ad084ac611b7c21d4f08b1eb30623f09db2cd0 (patch) | |
| tree | 10214d71cf1548ea8426c626b514c41908ccc256 /compiler/rustc_transmute/src/layout/mod.rs | |
| parent | 263a4f2cb6b455f9c4ae46493d59369c378a85ea (diff) | |
| download | rust-94ad084ac611b7c21d4f08b1eb30623f09db2cd0.tar.gz rust-94ad084ac611b7c21d4f08b1eb30623f09db2cd0.zip | |
Safe Transmute: Fix propagation of errors
- Make sure that the most specific Reason is the one that bubbles up when we are folding over the `Answer` tree. `Reason::DstIsBitIncompatible` is the least specific, so that should be used only when there isn't anything else available. - Small fixes where we used the wrong Reason variant. - Tiny cleanups
Diffstat (limited to 'compiler/rustc_transmute/src/layout/mod.rs')
0 files changed, 0 insertions, 0 deletions
