Jubilee
4f477427b8
Rollup merge of #135731 - frank-king:feature/pin-borrow, r=eholk,traviscross
...
Implement parsing of pinned borrows
This PR implements part of #130494 .
EDIT: It introduces `&pin mut $place` and `&pin const $place` as sugars for `std::pin::pin!($place)` and its shared reference equivalent, except that `$place` will not be moved when borrowing. The borrow check will be in charge of enforcing places cannot be moved or mutably borrowed since being pinned till dropped.
### Implementation steps:
- [x] parse the `&pin mut $place` and `&pin const $place` syntaxes
- [ ] borrowck of `&pin mut|const`
- [ ] support autoref of `&pin mut|const` when needed
2025-06-24 19:45:29 -07:00
..
2025-06-09 19:55:00 +00:00
2025-06-18 09:04:34 +07:00
2025-05-26 14:59:48 +02:00
2025-05-26 14:59:48 +02:00
2025-05-27 08:18:11 +00:00
2024-08-20 18:33:25 +02:00
2025-05-27 08:18:11 +00:00
2025-06-18 18:06:49 +02:00
2024-08-17 12:43:25 -04:00
2025-01-27 02:28:04 +01:00
2024-12-14 03:54:31 +01:00
2024-10-29 16:26:57 +00:00
2024-05-07 16:56:54 -04:00
2025-06-10 08:41:23 +00:00
2024-06-27 15:19:08 -04:00
2024-12-13 00:04:56 +00:00
2024-12-13 00:04:56 +00:00
2024-12-13 00:04:56 +00:00
2024-12-13 00:04:56 +00:00
2024-11-02 03:08:04 +00:00
2024-10-29 16:26:57 +00:00
2025-04-15 21:48:36 +02:00
2025-04-15 21:48:36 +02:00
2025-04-15 21:48:36 +02:00
2024-05-21 19:05:37 -07:00
2024-10-29 16:26:57 +00:00
2024-04-24 08:05:29 +00:00
2025-06-13 01:16:36 +02:00
2025-06-13 01:16:36 +02:00
2024-05-21 19:05:37 -07:00
2024-12-13 00:04:56 +00:00
2025-01-16 21:34:40 +01:00
2024-11-02 03:08:04 +00:00
2024-11-02 03:08:04 +00:00
2025-06-06 20:12:11 +00:00
2024-04-11 11:56:47 -04:00
2025-02-02 01:00:33 +00:00
2025-01-16 21:34:40 +01:00
2025-06-06 20:12:11 +00:00
2025-04-08 23:06:31 +03:00
2024-10-29 16:26:57 +00:00
2024-11-22 11:12:15 -08:00
2025-04-03 21:41:58 +00:00
2025-04-08 23:06:31 +03:00
2024-10-29 16:26:57 +00:00
2024-10-12 06:14:46 -04:00
2024-10-12 06:14:46 -04:00
2025-05-26 14:59:48 +02:00
2024-12-05 14:14:17 -08:00
2024-12-05 14:14:17 -08:00
2024-12-05 14:14:17 -08:00
2025-05-17 01:30:07 +09:00
2025-06-23 21:30:56 +03:00
2025-06-23 21:30:56 +03:00
2025-02-10 20:21:39 +00:00
2025-01-22 09:20:57 -08:00
2025-01-26 21:20:31 +01:00
2025-04-10 09:56:37 +02:00
2024-10-12 06:14:46 -04:00
2024-07-04 02:02:21 +00:00
2024-10-29 16:26:57 +00:00
2024-10-29 16:26:57 +00:00
2024-10-29 16:26:57 +00:00
2024-10-29 16:26:57 +00:00
2025-05-26 14:59:48 +02:00
2025-05-26 14:59:48 +02:00
2025-05-26 14:59:48 +02:00
2024-12-13 15:40:37 +00:00
2024-10-29 16:26:57 +00:00
2024-10-29 16:26:57 +00:00
2025-04-07 19:13:31 +03:00
2024-12-07 21:29:58 +00:00
2024-11-08 03:46:27 +00:00
2024-11-08 04:56:08 +00:00
2025-04-07 19:13:31 +03:00
2024-10-29 16:26:57 +00:00
2024-10-29 16:26:57 +00:00
2024-12-13 00:04:56 +00:00
2024-12-13 00:04:56 +00:00
2025-01-06 16:12:11 -08:00
2025-01-06 16:12:11 -08:00
2025-02-20 18:15:39 +00:00
2024-12-07 21:37:13 +00:00
2025-02-02 01:00:33 +00:00
2025-02-02 01:00:33 +00:00
2025-06-06 20:12:11 +00:00
2024-06-04 14:19:42 -03:00
2024-06-04 14:19:42 -03:00
2024-12-13 00:04:56 +00:00
2025-04-03 21:41:58 +00:00
2024-04-24 08:05:29 +00:00
2025-03-11 12:05:02 +00:00
2024-03-19 12:02:21 -04:00
2024-10-29 16:26:57 +00:00
2024-10-29 16:26:57 +00:00
2024-05-28 20:05:01 +00:00
2024-05-28 20:48:35 +00:00
2025-04-12 20:54:08 +00:00
2024-03-19 11:30:12 -04:00
2024-12-13 00:04:56 +00:00
2024-12-13 00:04:56 +00:00
2024-12-13 00:04:56 +00:00
2025-04-10 23:48:57 +03:00
2025-04-10 23:48:57 +03:00
2025-05-26 14:59:48 +02:00
2025-05-26 14:59:48 +02:00
2025-05-26 14:59:48 +02:00
2025-05-26 14:59:48 +02:00
2024-10-12 06:14:45 -04:00
2024-10-12 06:14:45 -04:00
2024-12-13 00:04:56 +00:00
2025-02-20 18:15:39 +00:00
2025-02-11 22:59:57 +00:00
2025-02-11 22:59:57 +00:00
2025-06-06 20:12:11 +00:00
2024-07-31 12:24:26 -04:00
2024-07-31 12:24:26 -04:00
2025-06-13 01:16:36 +02:00
2025-06-13 01:16:36 +02:00