Files
rust/compiler/rustc_codegen_ssa
Jonathan Brouwer cf39dc63f4 Rollup merge of #157139 - scottmcm:abi-range-inclusive, r=oli-obk
compiler: `ops::RangeInclusive` → `range::RangeInclusive`

The type's been stable for over 6 weeks now, so let's use it!  It's better for cases like this one where it's stored in a data structure.

Probably won't be materially faster, but does make the variant slightly smaller and lets some more things be `Copy`.  And deletes a whole bunch of parens from things being fields instead of methods 😄

r? compiler
2026-05-30 11:40:21 +02:00
..
…

Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.