diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2024-02-29 17:08:37 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-29 17:08:37 +0100 |
| commit | 2e0a26a32a51faba018d70310869e73b2743c959 (patch) | |
| tree | 39d6003984b7d34801406e1f8e18ae6bdbea9ab8 /compiler/rustc_errors/src/json.rs | |
| parent | 9df7f26b1b0b3cfe7dc8224514d1685d11b1e495 (diff) | |
| parent | 7c6960e289c627bc5533c03769ff45b03a141be9 (diff) | |
| download | rust-2e0a26a32a51faba018d70310869e73b2743c959.tar.gz rust-2e0a26a32a51faba018d70310869e73b2743c959.zip | |
Rollup merge of #121376 - Nadrieril:mir-half-ranges, r=pnkfelix
Skip unnecessary comparison with half-open range patterns This is the last remaining detail in the implementation of half-open range patterns. Until now, a half-open range pattern like `10..` was converted to `10..T::MAX` before lowering to MIR, which generated an extra pointless comparison. With this PR we don't generate it.
Diffstat (limited to 'compiler/rustc_errors/src/json.rs')
0 files changed, 0 insertions, 0 deletions
