about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/expr.rs
AgeCommit message (Expand)AuthorLines
2024-05-11Add classify::expr_is_completeDavid Tolnay-59/+3
2024-05-11Remove MacCall special case from recovery after missing 'if' after 'else'David Tolnay-6/+28
2024-05-11Document MacCall special case in Parser::parse_armDavid Tolnay-0/+11
2024-05-11Document MacCall special case in Parser::expr_is_completeDavid Tolnay-7/+44
2024-05-11Mark Parser::expr_is_complete call sitesDavid Tolnay-5/+7
2024-05-11Macro call with braces does not require semicolon to be statementDavid Tolnay-4/+12
2024-05-11Mark expr_requires_semi_to_be_stmt call sitesDavid Tolnay-3/+3
2024-05-09Add `ErrorGuaranteed` to `Recovered::Yes` and use it more.Nicholas Nethercote-18/+22
2024-04-23Rollup merge of #124099 - voidc:disallow-ambiguous-expr-attrs, r=davidtwcoMatthias Krüger-13/+19
2024-04-22Improve handling of expr->field errorsSasha Pourcelot-0/+6
2024-04-18Disallow ambiguous attributes on expressionsDominik Stolz-13/+19
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