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
..
2024-04-18 09:47:45 +00:00
2024-04-18 21:38:55 -07:00
2024-04-17 09:34:39 -04:00
2024-04-19 23:49:44 -07:00
2024-04-22 18:48:47 +02:00
2024-04-23 17:25:15 +02:00
2024-04-17 09:34:39 -04:00
2024-04-21 11:08:37 -07:00
2024-04-20 21:45:35 +01:00
2024-04-22 20:25:58 +02:00
2024-04-23 02:10:23 +00:00
2024-04-23 17:25:15 +02:00
2024-04-22 18:48:47 +02:00
2024-04-15 18:48:12 -04:00
2024-04-17 13:00:43 +02:00
2024-04-22 18:48:47 +02:00
2024-04-18 09:47:45 +00:00
2024-04-23 12:10:25 +02:00
2024-04-23 17:25:14 +02:00
2024-04-23 17:25:14 +02:00
2024-04-17 09:34:39 -04:00
2024-04-23 17:25:15 +02:00
2024-04-21 11:24:55 +01:00
2024-04-18 15:36:25 +10:00
2024-04-23 17:25:14 +02:00
2024-04-22 18:48:47 +02:00
2024-04-23 12:10:25 +02:00
2024-04-15 23:27:21 -04:00
2024-04-20 21:45:37 +01:00
2024-04-16 13:02:53 +10:00
2024-04-23 12:10:25 +02:00
2024-04-23 17:25:15 +02:00
2024-04-23 17:25:15 +02:00
2024-04-20 16:01:35 +02:00
2024-04-23 17:25:15 +02:00
2024-04-17 20:49:53 +03:00
2024-04-23 12:10:26 +02:00
2024-04-18 15:36:25 +10:00
2024-04-23 12:10:25 +02:00
2024-04-22 18:48:47 +02:00
2024-04-22 20:26:00 +02:00
2024-04-23 12:10:25 +02:00
2024-04-14 14:56:41 +02:00
2024-04-22 18:48:47 +02:00
2024-04-22 18:48:47 +02:00
2024-04-23 17:25:15 +02:00
2024-04-23 12:10:25 +02:00
2024-04-16 20:45:07 +03:00
2024-04-21 06:32:10 +00:00
2024-04-23 17:25:14 +02:00
2024-04-19 13:51:52 +02:00
2024-04-23 02:10:23 +00:00
2024-04-16 15:19:14 +02:00
2024-04-23 17:25:15 +02:00