rust/compiler/rustc_mir_build
Matthias Krüger c9635e51b5
Rollup merge of #136435 - Zalathar:thir-pat-stuff, r=Nadrieril
Simplify some code for lowering THIR patterns

I've been playing around with some radically different ways of storing THIR patterns, and while those experiments haven't yet produced a clear win, I have noticed various smaller things in the existing code that can be made a bit nicer.

Some of the more significant changes:
- With a little bit of extra effort (and thoughtful use of Arc), we can completely remove an entire layer of `'pat` lifetimes from the intermediate data structures used for match lowering.
- In several places, lists of THIR patterns were being double-boxed for no apparent reason.
2025-02-06 13:10:00 +01:00
..
src Rollup merge of #136435 - Zalathar:thir-pat-stuff, r=Nadrieril 2025-02-06 13:10:00 +01:00
Cargo.toml mir_build: check annotated functions w/out callers 2025-01-10 18:37:57 +00:00
messages.ftl Rollup merge of #136328 - estebank:long-ty-path, r=jieyouxu,lqd 2025-02-02 12:31:56 +01:00