rust/compiler/rustc_parse/src/parser
Matthias Krüger fb691b470a
Rollup merge of #130635 - eholk:pin-reborrow-sugar, r=compiler-errors
Add `&pin (mut|const) T` type position sugar

This adds parser support for `&pin mut T` and `&pin const T` references. These are desugared to `Pin<&mut T>` and `Pin<&T>` in the AST lowering phases.

This PR currently includes #130526 since that one is in the commit queue. Only the most recent commits (bd450027eb4a94b814a7dd9c0fa29102e6361149 and following) are new.

Tracking:

- #130494

r? `@compiler-errors`
2024-10-15 05:12:34 +02:00
..
mut_visit Reformat use declarations. 2024-07-29 08:26:52 +10:00
tokenstream Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
attr.rs Rename NestedMetaItem to MetaItemInner 2024-10-06 23:28:30 +09:00
attr_wrapper.rs Rollup merge of #130551 - nnethercote:fix-break-last-token, r=petrochenkov 2024-09-23 07:54:44 -07:00
diagnostics.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
expr.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
generics.rs Add suggestion for removing invalid path separator :: in function definition. 2024-09-27 15:41:04 +08:00
item.rs Remove anon struct and union types 2024-10-01 13:55:46 -04:00
mod.rs Rollup merge of #130551 - nnethercote:fix-break-last-token, r=petrochenkov 2024-09-23 07:54:44 -07:00
nonterminal.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
pat.rs Rollup merge of #130725 - GrigorenkoPV:@-in-struct-patterns, r=Nadrieril 2024-10-02 21:26:58 -07:00
path.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
stmt.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
tests.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
ty.rs Rollup merge of #130635 - eholk:pin-reborrow-sugar, r=compiler-errors 2024-10-15 05:12:34 +02:00