about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/expr.rs
AgeCommit message (Expand)AuthorLines
2024-06-18Remove redundant argument from `subdiagnostic` methodOli Scherer-1/+1
2024-06-17Make parse_seq_to_before_tokens take expected/nonexpected tokens, use in pars...Michael Goulet-3/+3
2024-06-07Rollup merge of #126052 - nnethercote:rustc_parse-more-cleanups, r=spastorinoMatthias Krüger-2/+6
2024-06-06Revert "Rollup merge of #124099 - voidc:disallow-ambiguous-expr-attrs, r=davi...Rémy Rakic-19/+13
2024-06-06Reduce `pub` exposure.Nicholas Nethercote-2/+6
2024-05-23Remove `#[macro_use] extern crate tracing` from `rustc_parse`.Nicholas Nethercote-0/+1
2024-05-21Rename buffer_lint_with_diagnostic to buffer_lintXiretza-1/+1
2024-05-21Generate lint diagnostic message from BuiltinLintDiagXiretza-1/+0
2024-05-17Clarify that the diff_marker is talking about version control systemardi-1/+1
2024-05-14Remove `NtIdent` and `NtLifetime`.Nicholas Nethercote-1/+3
2024-05-13Remove a `Span` from `TokenKind::Interpolated`.Nicholas Nethercote-1/+1
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