about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/expr.rs
AgeCommit message (Expand)AuthorLines
2025-04-22Auto merge of #139897 - nnethercote:rm-OpenDelim-CloseDelim, r=petrochenkovbors-52/+39
2025-04-21Remove `token::{Open,Close}Delim`.Nicholas Nethercote-52/+39
2025-04-19Rollup merge of #137454 - mu001999-contrib:fix-137414, r=wesleywiserChris Denton-6/+8
2025-04-14Rollup merge of #139392 - compiler-errors:raw-expr, r=oli-obkMatthias Krüger-0/+12
2025-04-14Auto merge of #124141 - nnethercote:rm-Nonterminal-and-TokenKind-Interpolated...bors-32/+26
2025-04-11Handle a negated literal in `eat_token_lit`.Nicholas Nethercote-4/+9
2025-04-04Detect and provide suggestion for `&raw EXPR`Michael Goulet-0/+12
2025-04-04Replace `rustc_lexer/unescape` with `rustc-literal-escaper` crateGuillaume Gomez-1/+1
2025-04-03Tighten up assignment operator representations.Nicholas Nethercote-7/+7
2025-04-02Impl `Copy` for `Token` and `TokenKind`.Nicholas Nethercote-10/+10
2025-04-02Remove `NtBlock`, `Nonterminal`, and `TokenKind::Interpolated`.Nicholas Nethercote-22/+16
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-23not lint break with label and unsafe blockMu001999-6/+8
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