about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/expr.rs
AgeCommit message (Expand)AuthorLines
2024-04-11remove some things that do not need to beMatthias Krüger-2/+1
2024-04-02Don't ICE for postfix match after asMichael Goulet-0/+1
2024-03-27chore: fix some commentsxiaoxiangxianzi-1/+1
2024-03-25Clarify `parse_dot_suffix_expr`.Nicholas Nethercote-16/+19
2024-03-25Change `parse_expr_tuple_field_access`.Nicholas Nethercote-10/+15
2024-03-25Remove `next_token` handling from `parse_expr_tuple_field_access`.Nicholas Nethercote-18/+10
2024-03-25Inline and remove `Parser::parse_expr_tuple_field_access_float`.Nicholas Nethercote-36/+38
2024-03-22Rollup merge of #121619 - RossSmyth:pfix_match, r=petrochenkovMatthias Krüger-5/+24
2024-03-21Rollup merge of #122752 - nnethercote:Interpolated-cleanups, r=petrochenkovMatthias Krüger-10/+0
2024-03-20Make type_ascribe! not a built-inMichael Goulet-5/+15
2024-03-21Remove non-useful code path.Nicholas Nethercote-10/+0
2024-03-18Ensure stack before parsing dot-or-callJubilee Young-1/+4
2024-03-11Rename `AddToDiagnostic` as `Subdiagnostic`.Nicholas Nethercote-3/+3
2024-03-06Add MatchKind member to the Match expr for pretty printing & fmtRoss Smyth-8/+10
2024-03-05Add postfix-match experimental featureRoss Smyth-1/+18
2024-03-05Use `ControlFlow` in AST visitors.Jason Newcomb-7/+9
2024-03-05Rename `BuiltinLintDiagnostics` as `BuiltinLintDiag`.Nicholas Nethercote-2/+2
2024-03-05Rename all `ParseSess` variables/fields/lifetimes as `psess`.Nicholas Nethercote-30/+30
2024-03-02Auto merge of #121657 - estebank:issue-119665, r=davidtwcobors-2/+2
2024-03-01Detect more cases of `=` to `:` typoEsteban Küber-2/+2
2024-02-29Overhaul how stashed diagnostics work, again.Nicholas Nethercote-14/+15
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-4/+4
2024-02-27Refactor `take_for_recovery` call sites.Nicholas Nethercote-16/+13
2024-02-25Add `ErrorGuaranteed` to `ast::ExprKind::Err`Lieselotte-71/+94
2024-02-25Add `ast::ExprKind::Dummy`Lieselotte-1/+2
2024-02-25Rollup merge of #121060 - clubby789:bool-newtypes, r=cjgillotMatthias Krüger-23/+27
2024-02-20Add newtype for trailing in parserclubby789-2/+2
2024-02-20Add newtype for parser recoveryclubby789-4/+4
2024-02-20Add newtype for raw identsclubby789-17/+21
2024-02-19Prefer `DiagnosticBuilder` over `Diagnostic` in diagnostic modifiers.Nicholas Nethercote-5/+3
2024-02-17Rollup merge of #121085 - davidtwco:always-eager-diagnostics, r=nnethercoteMatthias Krüger-1/+1
2024-02-15errors: only eagerly translate subdiagnosticsDavid Wood-1/+1
2024-02-15Add `ErrorGuaranteed` to `ast::LitKind::Err`, `token::LitKind::Err`.Nicholas Nethercote-2/+2
2024-02-08Continue to borrowck even if there were previous errorsOli Scherer-1/+11
2024-02-02Remove unnecessary `.to_string()`/`.as_str()`strevyn-1/+1
2024-01-30Rollup merge of #120460 - nnethercote:fix-120397, r=compiler-errorsGuillaume Gomez-9/+22
2024-01-29Be more careful about interpreting a label/lifetime as a mistyped char literal.Nicholas Nethercote-2/+15
2024-01-29Tweak comment and naming for `recover_unclosed_char`.Nicholas Nethercote-7/+7
2024-01-28Handle methodcalls & operators in patternsLieselotte-0/+13
2024-01-26Rollup merge of #119342 - sjwang05:issue-112254, r=wesleywiserMatthias Krüger-2/+8
2024-01-20Rollup merge of #120063 - clubby789:remove-box-handling, r=NilstriebGuillaume Gomez-21/+7
2024-01-18Suggest wrapping mac args in parens rather than the whole expressionMichael Goulet-1/+1
2024-01-17Remove `box <expr>` recoveryclubby789-21/+7
2024-01-10Rename consuming chaining methods on `DiagnosticBuilder`.Nicholas Nethercote-2/+2
2024-01-10Rename `{create,emit}_warning` as `{create,emit}_warn`.Nicholas Nethercote-1/+1
2024-01-08Emit suggestion when trying to write exclusive ranges as `..<`sjwang05-2/+8
2024-01-08Remove a second `DiagnosticBuilder::emit_without_consuming` call.Nicholas Nethercote-28/+24
2024-01-08Make `DiagnosticBuilder::emit` consuming.Nicholas Nethercote-9/+8
2024-01-05rustc_span: More consistent span combination operationsVadim Petrochenkov-1/+1
2024-01-05parser: Tiny refactoringVadim Petrochenkov-1/+1