rust/compiler/rustc_parse/src/parser
Matthias Krüger dc9060688a
Rollup merge of #139751 - frank-king:feature/pin-project, r=Nadrieril,traviscross
Implement pin-project in pattern matching for `&pin mut|const T`

This PR implements part of rust-lang/rust#130494. It supports pin-project in pattern matching for `&pin mut|const T`.

~Pin-projection by field access (i.e. `&pin mut|const place.field`) is not fully supported yet since pinned-borrow is not ready (rust-lang/rust#135731).~

CC ``````@traviscross``````
2025-11-01 08:25:44 +01:00
..
tokenstream Use Iterator::eq and (dogfood) eq_by in compiler and library 2025-09-29 08:08:05 +03:00
asm.rs remove P 2025-08-09 15:47:01 +08:00
attr.rs Move parse_cfg_attr to rustc_attr_parsing 2025-10-15 22:18:18 +02:00
attr_wrapper.rs Use ThinVec to shrink LazyAttrTokenStreamInner. 2025-04-30 07:12:09 +10:00
cfg_select.rs cfg_select: Support unbraced expressions 2025-08-10 16:18:01 -07:00
diagnostics.rs Break out some parsing cold functions 2025-10-04 13:21:37 -05:00
expr.rs Add contract variable declarations 2025-10-18 15:00:34 +01:00
generics.rs Add contract variable declarations 2025-10-18 15:00:34 +01:00
item.rs Constify trait aliases 2025-10-30 08:05:37 +00:00
mod.rs Implement pattern matching for &pin mut|const T 2025-10-30 07:56:16 +08:00
nonterminal.rs Remove boxes from ast Pat lists 2025-10-04 12:39:58 -05:00
pat.rs Implement pattern matching for &pin mut|const T 2025-10-30 07:56:16 +08:00
path.rs Remove extra space for missing associated type term 2025-10-05 11:11:47 +08:00
stmt.rs review comment: move Visitor 2025-08-30 18:42:07 +00:00
tests.rs refactor: Move to anstream + anstyle for styling 2025-10-20 12:13:25 -06:00
token_type.rs Add not-null pointer patterns to pattern types 2025-10-21 11:22:51 +00:00
ty.rs Detect top-level ... in argument type 2025-09-16 11:38:08 -07:00