about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/expr.rs
AgeCommit message (Expand)AuthorLines
2024-06-29Rollup merge of #127103 - compiler-errors:tighten-trait-bound-parsing, r=fmeaseMatthias Krüger-1/+1
2024-06-28Move binder and polarity parsing into parse_generic_ty_boundMichael Goulet-1/+1
2024-06-27Tighten spans for async blocksMichael Goulet-2/+3
2024-06-25Inline and remove `maybe_whole_expr!`.Nicholas Nethercote-32/+41
2024-06-20Add blank lines after module-level `//` comments.Nicholas Nethercote-0/+1
2024-06-19Auto merge of #126678 - nnethercote:fix-duplicated-attrs-on-nt-expr, r=petroc...bors-81/+74
2024-06-19Change how `parse_expr_force_collect` works.Nicholas Nethercote-2/+5
2024-06-19Refactor `parse_expr_res`.Nicholas Nethercote-11/+19
2024-06-19Simplify `LhsExpr::Unparsed`.Nicholas Nethercote-10/+11
2024-06-19Move `parse_or_use_outer_attributes` out of `parse_expr_prefix_range`.Nicholas Nethercote-9/+10
2024-06-19Move `parse_or_use_outer_attributes` out of `parse_expr_prefix`.Nicholas Nethercote-5/+8
2024-06-19Inline and remove `parse_expr_assoc`.Nicholas Nethercote-10/+1
2024-06-19Refactor `LhsExpr`.Nicholas Nethercote-33/+34
2024-06-19Remove `From` impls for `LhsExpr`.Nicholas Nethercote-21/+7
2024-06-19Simplify `Parser::parse_expr_dot_or_call`.Nicholas Nethercote-4/+3
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