diff options
| author | bors <bors@rust-lang.org> | 2024-03-13 15:25:35 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-03-13 15:25:35 +0000 |
| commit | 3cbb93223f33024db464a4df27a13c7cce870173 (patch) | |
| tree | 5c6a78d2b35497d3f5ec256b7120053976b24fab /compiler/rustc_pattern_analysis/src | |
| parent | 184c5ab1807a5e605cc8235d3734a97552768c22 (diff) | |
| parent | 9f55200a42f599549fee0f003b27888d03604861 (diff) | |
| download | rust-3cbb93223f33024db464a4df27a13c7cce870173.tar.gz rust-3cbb93223f33024db464a4df27a13c7cce870173.zip | |
Auto merge of #121668 - erikdesjardins:commonprim, r=scottmcm,oli-obk
Represent `Result<usize, Box<T>>` as ScalarPair(i64, ptr) This allows types like `Result<usize, std::io::Error>` (and integers of differing sign, e.g. `Result<u64, i64>`) to be passed in a pair of registers instead of through memory, like `Result<u64, u64>` or `Result<Box<T>, Box<U>>` are today. Fixes #97540. r? `@ghost`
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions
