summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/expr.rs
AgeCommit message (Expand)AuthorLines
2025-07-31Consider operator's span when computing binop expr spanMichael Goulet-5/+8
2025-07-28Account for .yield in illegal postfix operator messageMichael Goulet-1/+5
2025-06-30Remove let_chains featureCameron Steffen-1/+1
2025-06-26Add Ident::is_non_reserved_identMichael Goulet-2/+1
2025-06-24Rollup merge of #135731 - frank-king:feature/pin-borrow, r=eholk,traviscrossJubilee-1/+6
2025-06-15Implement pinned borrows, part of `pin_ergonomics`Frank King-1/+6
2025-06-12avoid `&mut P<T>` in `visit_expr` etc methodsDeadbeef-1/+1
2025-06-11Add expectation for `{` when parsing lone coroutine qualifiersLukas Wirth-13/+19
2025-06-06Rollup merge of #141603 - nnethercote:reduce-P, r=fee1-deadGuillaume Gomez-5/+3
2025-06-03Remove `Path::is_ident`.Nicholas Nethercote-1/+1
2025-05-27Reduce `P<T>` to a typedef of `Box<T>`.Nicholas Nethercote-4/+2
2025-05-27Remove the one use of `P<[T]>`.Nicholas Nethercote-1/+1
2025-05-16Fix the issue of typo of comma in arm parsingyukang-18/+36
2025-05-09Remove `Ident::empty`.Nicholas Nethercote-1/+1
2025-04-25resolved conflictKivooeo-4/+8
2025-04-22Rollup merge of #140144 - nnethercote:fix-140098, r=petrochenkovChris Denton-13/+13
2025-04-22Auto merge of #132833 - est31:stabilize_let_chains, r=fee1-deadbors-29/+54
2025-04-22Handle another negated literal in `eat_token_lit`.Nicholas Nethercote-13/+13
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-20Don't call ungate_lastest31-54/+45
2025-04-19Rollup merge of #137454 - mu001999-contrib:fix-137414, r=wesleywiserChris Denton-6/+8
2025-04-18Also allow let chains in match guardsest31-11/+20
2025-04-18Stabilize let chains on edition 2024est31-3/+28
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