rust/tests/ui/async-await
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
..
2024-08-20 18:33:25 +02:00
2024-08-17 12:43:25 -04:00
2024-12-13 00:04:56 +00:00
2024-12-13 00:04:56 +00:00
2024-10-12 06:14:46 -04:00
2024-10-12 06:14:46 -04:00
2024-12-05 14:14:17 -08:00
2024-12-05 14:14:17 -08:00
2024-10-12 06:14:46 -04:00
2025-04-03 21:41:58 +00:00