rust/compiler/stable_mir/src
León Orell Valerian Liehr 332cac2c6d
Rollup merge of #122598 - Nadrieril:full-derefpats, r=matthewjasper
deref patterns: lower deref patterns to MIR

This lowers deref patterns to MIR. This is a bit tricky because this is the first kind of pattern that requires storing a value in a temporary. Thanks to https://github.com/rust-lang/rust/pull/123324 false edges are no longer a problem.

The thing I'm not confident about is the handling of fake borrows. This PR ignores any fake borrows inside a deref pattern. We are guaranteed to at least fake borrow the place of the first pointer value, which could be enough, but I'm not certain.
2024-04-23 17:25:15 +02:00
..
mir Rollup merge of #122598 - Nadrieril:full-derefpats, r=matthewjasper 2024-04-23 17:25:15 +02:00
abi.rs Fix StableMIR is_full computation 2024-03-13 00:36:54 -07:00
compiler_interface.rs Fix disabling the export of noop async_drop_in_place_raw 2024-04-18 15:19:05 +03:00
crate_def.rs Improve documentation and fix the fixme comment 2023-11-23 12:29:20 -08:00
error.rs Implement missing ABI structures in StableMIR 2024-03-01 11:02:05 -08:00
lib.rs Improve emit stable mir body 2024-03-20 15:55:35 -07:00
mir.rs Add support to global allocation to stable-mir 2023-11-21 19:16:53 -08:00
target.rs Update target.rs alloc.rs event.rs simd.rs 2024-03-20 17:07:15 +01:00
ty.rs Actually create ranged int types in the type system. 2024-04-08 12:02:19 +00:00
visitor.rs Actually create ranged int types in the type system. 2024-04-08 12:02:19 +00:00