Guillaume Gomez
2e0a26a32a
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.
2024-02-29 17:08:37 +01:00
..
2024-02-26 10:40:48 +01:00
2024-02-27 18:11:23 +00:00
2024-02-27 18:11:23 +00:00
2024-02-28 08:55:37 +11:00
2024-02-28 08:55:35 +11:00
2024-02-25 22:24:31 +01:00
2024-02-28 08:55:35 +11:00
2024-02-28 08:55:37 +11:00
2024-02-29 14:14:21 +08:00
2024-02-27 03:27:48 +00:00
2024-02-28 08:55:37 +11:00
2024-02-28 08:55:35 +11:00
2024-02-28 08:55:37 +11:00
2024-02-28 20:39:38 +00:00
2024-02-24 18:53:48 +03:00
2024-02-25 08:14:52 +01:00
2024-02-29 11:07:42 +11:00
2024-02-28 08:55:35 +11:00
2024-02-29 05:25:27 -05:00
2024-02-27 17:43:40 +00:00
2024-02-29 05:25:30 -05:00
2024-02-28 20:39:38 +00:00
2024-02-29 00:17:01 +01:00
2024-02-28 08:33:25 +11:00
2024-02-28 20:39:38 +00:00
2024-02-28 08:55:35 +11:00
2024-02-26 16:06:02 +01:00
2024-02-28 08:55:35 +11:00
2024-02-28 08:55:37 +11:00
2024-02-29 17:08:37 +01:00
2024-02-29 17:08:37 +01:00
2024-02-29 14:33:50 +01:00
2024-02-28 08:55:35 +11:00
2024-02-26 10:17:43 +01:00
2024-02-29 14:14:21 +08:00
2024-02-29 13:16:24 +08:00
2024-02-29 17:08:37 +01:00
2024-02-28 08:55:37 +11:00
2024-02-28 08:33:25 +11:00
2024-02-28 08:55:35 +11:00
2024-02-29 14:33:53 +01:00
2024-02-28 08:55:37 +11:00
2024-02-25 08:14:52 +01:00
2024-02-28 16:04:52 +01:00
2024-02-29 14:33:51 +01:00
2024-02-29 17:08:36 +01:00
2024-02-29 14:33:50 +01:00
2024-02-25 08:14:52 +01:00
2024-02-27 18:11:23 +00:00
2024-02-25 08:14:52 +01:00