about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/expr.rs
AgeCommit message (Expand)AuthorLines
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-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
2024-08-16Convert a bool to `Trailing`.Nicholas Nethercote-9/+11
2024-08-14Use `impl PartialEq<TokenKind> for Token` more.Nicholas Nethercote-35/+34
2024-08-14Convert a `&mut self` to `&self`.Nicholas Nethercote-1/+1
2024-08-07Use more slice patterns inside the compilerLeón Orell Valerian Liehr-3/+3
2024-08-03Rollup merge of #128483 - nnethercote:still-more-cfg-cleanups, r=petrochenkovMatthias Krüger-46/+29
2024-08-01Fix removed `box_syntax` diagnostic if source isn't availableclubby789-4/+6
2024-08-01Streamline attribute stitching on AST nodes.Nicholas Nethercote-11/+7
2024-07-31Remove `LhsExpr`.Nicholas Nethercote-35/+22
2024-07-29Mark Parser::eat/check methods as must_useMichael Goulet-2/+3
2024-07-29Reformat `use` declarations.Nicholas Nethercote-15/+16
2024-07-22Always pass the visitor as the first argument to walk* functionsOli Scherer-5/+5
2024-07-22Sync `mut_visit` function names with immut `visit` ones (s/noop_visit/walk/)Oli Scherer-6/+6
2024-07-18Remove `TrailingToken`.Nicholas Nethercote-16/+10
2024-07-17Rollup merge of #127806 - nnethercote:parser-improvements, r=spastorinoTrevor Gross-69/+56
2024-07-16Deny keyword lifetimes pre-expansionMichael Goulet-3/+10