Files
rust/compiler/rustc_parse/src/parser
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-05-27 09:44:10 +02:00
2025-04-21 07:35:56 +10:00
2025-06-20 15:30:09 -05:00
2025-05-27 09:44:10 +02:00
2025-06-03 10:52:32 -07:00
2025-06-19 13:02:04 -05:00
2025-04-21 07:35:56 +10:00