about summary refs log tree commit diff
path: root/compiler/rustc_ast/src/util/parser.rs
AgeCommit message (Expand)AuthorLines
2025-04-03Tighten up assignment operator representations.Nicholas Nethercote-12/+12
2025-03-03Replace `ast::TokenKind::BinOp{,Eq}` and remove `BinOpToken`.Nicholas Nethercote-21/+21
2025-02-27Rename `AssocOp::As` as `AssocOp::Cast`.Nicholas Nethercote-7/+7
2025-02-27Replace `AssocOp::DotDot{,Eq}` with `AssocOp::Range`.Nicholas Nethercote-12/+9
2025-02-27Introduce `AssocOp::Binary`.Nicholas Nethercote-140/+42
2025-02-27In `AssocOp::AssignOp`, use `BinOpKind` instead of `BinOpToken`Nicholas Nethercote-8/+17
2024-12-20Change comparison operators to have Fixity::NoneDavid Tolnay-3/+4
2024-12-21Rollup merge of #133782 - dtolnay:closuresjumps, r=spastorino,traviscrossMatthias Krüger-2/+1
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-1/+1
2024-12-02Squash closures and jumps into a single precedence levelDavid Tolnay-2/+1
2024-11-30Eliminate magic numbers from expression precedenceDavid Tolnay-23/+51
2024-11-30Eliminate PREC_FORCE_PARENDavid Tolnay-1/+0
2024-11-17Inline ExprPrecedence::order into Expr::precedenceDavid Tolnay-115/+0
2024-09-13Use the same precedence for all macro-like exprsMichael Goulet-6/+0
2024-07-29Reformat `use` declarations.Nicholas Nethercote-1/+2
2024-06-23Rename the 2 unambiguous precedence levels to PREC_UNAMBIGUOUSDavid Tolnay-24/+21
2024-06-23Unify the precedence level for PREC_POSTFIX and PREC_PARENDavid Tolnay-1/+1
2024-04-02Fix contains_exterior_struct_litMichael Goulet-1/+2
2024-04-02Fix precedence of postfix matchMichael Goulet-1/+3
2023-10-27Add gen blocks to ast and do some broken ast loweringOli Scherer-2/+2
2023-08-04Improve spans for indexing expressionsNilstrieb-1/+1
2023-06-19Syntatically accept `become` expressionsMaybe Waffle-1/+3
2023-05-01Rip it outNilstrieb-14/+9
2023-04-27Tweak await spanMichael Goulet-1/+1
2023-04-21offset_ofDrMeepster-1/+3
2023-03-14Remove box expressions from HIRclubby789-3/+1
2023-03-03Match unmatched backticks in comments in compiler/est31-1/+1
2023-01-26Auto merge of #106745 - m-ou-se:format-args-ast, r=oli-obkbors-1/+3
2023-01-17Remove double spaces after dots in commentsMaybe Waffle-1/+1
2023-01-12Expand format_args!() in rust_ast_lowering.Mara Bos-1/+3
2022-12-01Remove useless borrows and derefsMaybe Waffle-3/+3
2022-11-21Remove `ref` patterns from `rustc_ast`Maybe Waffle-11/+11
2022-11-17Box `ExprKind::{Closure,MethodCall}`, and `QSelf` in expressions, types, and ...Nicholas Nethercote-1/+1
2022-09-16more simple formattingRageking8-34/+34
2022-08-10Do not consider method call receiver as an argument in AST.Camille GILLOT-2/+2
2022-04-30Add `do yeet` expressions to allow experimentation in nightlyScott McMurray-1/+3
2021-11-06use matches!() macro in more placesMatthias Krüger-4/+4
2021-10-17Some "parenthesis" and "parentheses" fixesr00ster91-2/+2
2020-10-16Parse inline const expressionsSantiago Pastorino-0/+2
2020-10-14Remove unused code from rustc_astest31-1/+0
2020-08-30mv compiler to compiler/mark-0/+403