about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser
AgeCommit message (Expand)AuthorLines
2025-02-28Auto merge of #137517 - nnethercote:rm-NtPat-NtItem-NtStmt, r=petrochenkovbors-103/+99
2025-02-28Remove `NtPath`.Nicholas Nethercote-12/+19
2025-02-28Remove `NtMeta`.Nicholas Nethercote-21/+29
2025-02-28Remove `NtPat`.Nicholas Nethercote-72/+53
2025-02-27Rename `AssocOp::As` as `AssocOp::Cast`.Nicholas Nethercote-2/+2
2025-02-27Replace `AssocOp::DotDot{,Eq}` with `AssocOp::Range`.Nicholas Nethercote-9/+6
2025-02-27Introduce `AssocOp::Binary`.Nicholas Nethercote-56/+41
2025-02-27In `AssocOp::AssignOp`, use `BinOpKind` instead of `BinOpToken`Nicholas Nethercote-14/+2
2025-02-23Rollup merge of #137435 - estebank:match-arm-2, r=compiler-errorsJacob Pratt-1/+2
2025-02-22Greatly simplify lifetime captures in edition 2024Michael Goulet-1/+1
2025-02-22Fix "missing match arm body" suggestion involving `!`Esteban Küber-1/+2
2025-02-22Auto merge of #133436 - nnethercote:rm-NtVis-NtTy, r=petrochenkovbors-31/+100
2025-02-21Avoid snapshotting the parser in `parse_path_inner`.Nicholas Nethercote-18/+15
2025-02-21Remove `NtTy`.Nicholas Nethercote-20/+51
2025-02-21Remove `NtVis`.Nicholas Nethercote-9/+50
2025-02-20Rollup merge of #137281 - estebank:doc-comment-syntax-error, r=compiler-errorsMatthias Krüger-7/+9
2025-02-19Tweak "expected ident" parse error to avoid talking about doc commentsEsteban Küber-7/+9
2025-02-16Fix const items not being allowed to be called `r#move` or `r#static`Noratrieb-3/+3
2025-02-15Rollup merge of #136808 - chenyukang:yukang-fix-arg-list-error-129273, r=este...Matthias Krüger-5/+13
2025-02-15Rollup merge of #136490 - Skepfyr:no-field-rest-pattern-attrs, r=compiler-errorsMatthias Krüger-11/+11
2025-02-15Try to recover from path sep error in parseryukang-5/+13
2025-02-10Stop using span hack for contracts feature gatingMichael Goulet-12/+2
2025-02-08Rustfmtbjorn3-71/+85
2025-02-06Stop passing the same resource multiple times when building ParseSessbjorn3-5/+3
2025-02-06Auto merge of #136471 - safinaskar:parallel, r=SparrowLiibors-9/+9
2025-02-03Rename rustc_contract to contractCelina G. Val-14/+14
2025-02-03Separate contract feature gates for the internal machineryFelix S. Klock II-3/+17
2025-02-03Express contracts as part of function header and lower it to the contract lan...Celina G. Val-4/+39
2025-02-03Do not allow attributes on struct field rest patternsJack Rickard-11/+11
2025-02-03tree-wide: parallel: Fully removed all `Lrc`, replaced with `Arc`Askar Safin-9/+9
2025-01-30Rollup merge of #135882 - hkBst:master, r=estebankMatthias Krüger-7/+4
2025-01-28Rollup merge of #133151 - tyrone-wu:trim-fn-ptr-whitespace, r=compiler-errorsMatthias Krüger-4/+46
2025-01-27Trim extra whitespace in fn ptr suggestion spanTyrone Wu-4/+46
2025-01-27Use identifiers in diagnostics more oftenMichael Goulet-1/+1
2025-01-24use `fmt::from_fn` in more places, instead of using structs that impl formatt...Yotam Ofek-35/+25
2025-01-23simplify similar_tokens from Vec<_> to &[_]Marijn Schouten-2/+2
2025-01-23simplify similar_tokens from Option<Vec<_>> to Vec<_>Marijn Schouten-6/+3
2025-01-21Only assert the `Parser` size on specific archesJosh Stone-2/+3
2025-01-19Run `clippy --fix` for `unnecessary_map_or` lintYotam Ofek-1/+1
2025-01-11Remove allocations from case-insensitive comparison to keywordsMark Rousskov-2/+3
2025-01-09Auto merge of #135268 - pietroalbini:pa-bump-stage0, r=Mark-Simulacrumbors-2/+2
2025-01-09Rollup merge of #135269 - estebank:unneeded-into, r=compiler-errorsMatthias Krüger-4/+2
2025-01-08Remove some unnecessary `.into()` callsEsteban Küber-4/+2
2025-01-08update cfg(bootstrap)Pietro Albini-2/+2
2025-01-08Rename PatKind::Lit to ExprOli Scherer-6/+6
2024-12-29Rollup merge of #134884 - calciumbe:patch1, r=jieyouxuMatthias Krüger-1/+1
2024-12-29fix: typoscalciumbe-1/+1
2024-12-27Skip parenthesis around tuple struct field callsDavid Tolnay-1/+1
2024-12-21Rollup merge of #134600 - dtolnay:chainedcomparison, r=oli-obkJacob Pratt-10/+2
2024-12-21Rollup merge of #133087 - estebank:stmt-misparse, r=chenyukangJacob Pratt-2/+53