diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-10-18 12:56:33 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-18 12:56:33 +0000 |
| commit | 87d5ef8c4a367d112d085827e8ad4f84b8ff809f (patch) | |
| tree | 5d0504c542930adb026879a781b0b698c012ee4d /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff | |
| parent | 48c3be922e9ecc49bcdc77e21dbf6149f792a380 (diff) | |
| parent | e346d32e690a24ad9de69e94b9f302d7a74e4ec5 (diff) | |
| download | rust-87d5ef8c4a367d112d085827e8ad4f84b8ff809f.tar.gz rust-87d5ef8c4a367d112d085827e8ad4f84b8ff809f.zip | |
Merge #10578
10578: Fix partialord codegen take 2 r=lnicola a=yoshuawuyts Fixes https://github.com/rust-analyzer/rust-analyzer/issues/10576. This reverts "generate `PartialOrd` to our previous match-based design, and in turn uses that to correctly take references for multi-value comparisons. This is a bit more verbose, but it should be more readable and easier to edit by end-users than multiple nested layers of borrows. I also manually verified every example in the Rust playground to ensure it works. Thanks! cc/ `@WaffleLapkin` Co-authored-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions
