about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/expr.rs
AgeCommit message (Expand)AuthorLines
2025-03-06Use closure parse codeSantiago Pastorino-2/+13
2025-03-06Implement .use keyword as an alias of cloneSantiago Pastorino-0/+15
2025-03-04Auto merge of #137959 - matthiaskrgr:rollup-62vjvwr, r=matthiaskrgrbors-22/+18
2025-03-03Rollup merge of #134900 - dtolnay:unoprange, r=compiler-errors,davidtwcoMatthias Krüger-1/+5
2025-03-03Rename `ast::TokenKind::Not` as `ast::TokenKind::Bang`.Nicholas Nethercote-2/+2
2025-03-03Replace `ast::TokenKind::BinOp{,Eq}` and remove `BinOpToken`.Nicholas Nethercote-20/+16
2025-02-28Auto merge of #137517 - nnethercote:rm-NtPat-NtItem-NtStmt, r=petrochenkovbors-6/+6
2025-02-28Remove `NtPath`.Nicholas Nethercote-6/+6
2025-02-27Rename `AssocOp::As` as `AssocOp::Cast`.Nicholas Nethercote-2/+2
2025-02-27Replace `AssocOp::DotDot{,Eq}` with `AssocOp::Range`.Nicholas Nethercote-9/+6
2025-02-27Introduce `AssocOp::Binary`.Nicholas Nethercote-42/+19
2025-02-27In `AssocOp::AssignOp`, use `BinOpKind` instead of `BinOpToken`Nicholas Nethercote-14/+2
2025-02-22Fix "missing match arm body" suggestion involving `!`Esteban Küber-1/+2
2025-02-08Rustfmtbjorn3-18/+18
2025-01-30Rollup merge of #135882 - hkBst:master, r=estebankMatthias Krüger-3/+2
2025-01-27Use identifiers in diagnostics more oftenMichael Goulet-1/+1
2025-01-23simplify similar_tokens from Vec<_> to &[_]Marijn Schouten-2/+2
2025-01-23simplify similar_tokens from Option<Vec<_>> to Vec<_>Marijn Schouten-2/+1
2025-01-19Run `clippy --fix` for `unnecessary_map_or` lintYotam Ofek-1/+1
2024-12-29Fix parsing of ranges after unary operatorsDavid Tolnay-1/+5
2024-12-20Change comparison operators to have Fixity::NoneDavid Tolnay-10/+2
2024-12-19Speed up `Parser::expected_token_types`.Nicholas Nethercote-157/+151
2024-12-19Rename `Parser::expected_tokens` as `Parser::expected_token_types`.Nicholas Nethercote-1/+1
2024-12-18Rollup merge of #134161 - nnethercote:overhaul-token-cursors, r=spastorino许杰友 Jieyou Xu (Joe)-1/+3
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-12-18Overhaul `TokenTreeCursor`.Nicholas Nethercote-1/+3
2024-12-13Rollup merge of #134140 - compiler-errors:unsafe-binders-ast, r=oli-obkMatthias Krüger-2/+21
2024-12-13Stabilize async closuresMichael Goulet-4/+1
2024-12-12Add unwrap_unsafe_binder and wrap_unsafe_binder macro operatorsMichael Goulet-2/+21
2024-12-11Don't emit "field expressions may not have generic arguments" if it's a metho...Orion Gonzalez-2/+5
2024-12-09Introduce `default_field_values` featureEsteban Küber-1/+1
2024-12-08Rollup merge of #133424 - Nadrieril:guard-patterns-parsing, r=fee1-deadMatthias Krüger-32/+26
2024-11-30Eliminate magic numbers from expression precedenceDavid Tolnay-4/+4
2024-11-30Eliminate precedence arithmetic from rustc_parseDavid Tolnay-13/+18
2024-11-28Improve span handling in `parse_expr_bottom`.Nicholas Nethercote-11/+8
2024-11-24parse guard patternsNadrieril-29/+23
2024-11-24refactor pat parser method names/doc-comments to agree with RFC 3637Max Niederman-5/+5
2024-11-21Remove `ErrorGuaranteed` retval from `error_unexpected_after_dot`.Nicholas Nethercote-7/+7
2024-11-21Prepare for invisible delimiters.Nicholas Nethercote-2/+10
2024-11-16Better account for `else if` macro conditions mising an `if`Esteban Küber-1/+10
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-26/+26
2024-09-18Recover more expressions in patternsLieselotte-2/+2
2024-09-14Refactor `Parser::break_up_float`Lieselotte-27/+25
2024-09-14Fix `Parser::break_up_float`'s right spanLieselotte-1/+1
2024-09-14Add `ErrorGuaranteed` to `DestructuredFloat::Error`Lieselotte-7/+7
2024-09-11Also fix if in elseMichael Goulet-7/+5
2024-09-06Add initial support for raw lifetimesMichael Goulet-3/+3
2024-08-21Use bool in favor of Option<()> for diagnosticsMichael Goulet-2/+2
2024-08-18stabilize raw_ref_opRalf Jung-3/+2
2024-08-16Overhaul token collection.Nicholas Nethercote-32/+57