about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/expr.rs
AgeCommit message (Expand)AuthorLines
2025-04-02Fix problem causing `rusqlite` compilation to OOM.Nicholas Nethercote-1/+3
2025-04-02Remove `Token::uninterpolated_span`.Nicholas Nethercote-7/+7
2025-04-02Remove `NtExpr` and `NtLiteral`.Nicholas Nethercote-80/+140
2025-03-31Rollup merge of #138749 - compiler-errors:closure-recovery, r=fmeaseMatthias Krüger-9/+52
2025-03-25Remove now unreachable parse recovery codeLeón Orell Valerian Liehr-1/+1
2025-03-25Brace-ident-colon can certainly no longer start a blockLeón Orell Valerian Liehr-12/+2
2025-03-20Make dedicated recovery for missing braces on closure with returnMichael Goulet-6/+47
2025-03-20Fix diagnostic struct typo, make sure is_array_like_block checks that it's a ...Michael Goulet-3/+5
2025-03-20Rollup merge of #138435 - eholk:prefix-yield, r=oli-obkMatthias Krüger-1/+11
2025-03-18Refactor YieldKind so postfix yield must have an expressionEric Holk-4/+5
2025-03-18Apply suggestions from code reviewEric Holk-1/+1
2025-03-17Teach rustfmt to handle postfix yieldEric Holk-3/+2
2025-03-17If a label is placed on the block of a loop instead of the header, suggest mo...Zachary S-11/+25
2025-03-14Preserve yield position during pretty printingEric Holk-3/+6
2025-03-14Add support for postfix yield expressionsEric Holk-0/+7
2025-03-14Make `Parser::parse_expr_cond` public.Moritz Hedtke-1/+2
2025-03-12Auto merge of #138083 - nnethercote:rm-NtItem-NtStmt, r=petrochenkovbors-2/+1
2025-03-07Remove `NtItem` and `NtStmt`.Nicholas Nethercote-2/+1
2025-03-06Use closure parse codeSantiago Pastorino-2/+13
2025-03-06Implement .use keyword as an alias of cloneSantiago Pastorino-0/+15
2025-03-04Auto merge of #137959 - matthiaskrgr:rollup-62vjvwr, r=matthiaskrgrbors-22/+18
2025-03-03Rollup merge of #134900 - dtolnay:unoprange, r=compiler-errors,davidtwcoMatthias Krüger-1/+5
2025-03-03Rename `ast::TokenKind::Not` as `ast::TokenKind::Bang`.Nicholas Nethercote-2/+2
2025-03-03Replace `ast::TokenKind::BinOp{,Eq}` and remove `BinOpToken`.Nicholas Nethercote-20/+16
2025-02-28Auto merge of #137517 - nnethercote:rm-NtPat-NtItem-NtStmt, r=petrochenkovbors-6/+6
2025-02-28Remove `NtPath`.Nicholas Nethercote-6/+6
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-42/+19
2025-02-27In `AssocOp::AssignOp`, use `BinOpKind` instead of `BinOpToken`Nicholas Nethercote-14/+2
2025-02-22Fix "missing match arm body" suggestion involving `!`Esteban Küber-1/+2
2025-02-08Rustfmtbjorn3-18/+18
2025-01-30Rollup merge of #135882 - hkBst:master, r=estebankMatthias Krüger-3/+2
2025-01-27Use identifiers in diagnostics more oftenMichael Goulet-1/+1
2025-01-23simplify similar_tokens from Vec<_> to &[_]Marijn Schouten-2/+2
2025-01-23simplify similar_tokens from Option<Vec<_>> to Vec<_>Marijn Schouten-2/+1
2025-01-19Run `clippy --fix` for `unnecessary_map_or` lintYotam Ofek-1/+1
2024-12-29Fix parsing of ranges after unary operatorsDavid Tolnay-1/+5
2024-12-20Change comparison operators to have Fixity::NoneDavid Tolnay-10/+2
2024-12-19Speed up `Parser::expected_token_types`.Nicholas Nethercote-157/+151
2024-12-19Rename `Parser::expected_tokens` as `Parser::expected_token_types`.Nicholas Nethercote-1/+1
2024-12-18Rollup merge of #134161 - nnethercote:overhaul-token-cursors, r=spastorino许杰友 Jieyou Xu (Joe)-1/+3
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-12-18Overhaul `TokenTreeCursor`.Nicholas Nethercote-1/+3
2024-12-13Rollup merge of #134140 - compiler-errors:unsafe-binders-ast, r=oli-obkMatthias Krüger-2/+21
2024-12-13Stabilize async closuresMichael Goulet-4/+1
2024-12-12Add unwrap_unsafe_binder and wrap_unsafe_binder macro operatorsMichael Goulet-2/+21
2024-12-11Don't emit "field expressions may not have generic arguments" if it's a metho...Orion Gonzalez-2/+5
2024-12-09Introduce `default_field_values` featureEsteban Küber-1/+1
2024-12-08Rollup merge of #133424 - Nadrieril:guard-patterns-parsing, r=fee1-deadMatthias Krüger-32/+26