about summary refs log tree commit diff
path: root/compiler/rustc_ast/src/util
AgeCommit message (Expand)AuthorLines
2025-07-31Deduplicate `IntTy`/`UintTy`/`FloatTy`.Nicholas Nethercote-3/+3
2025-07-08update to literal-escaper-0.0.5Marijn Schouten-3/+3
2025-07-06compiler: rename {ast,hir}::BareFn* to FnPtr*Jubilee Young-1/+1
2025-06-30Introduce `ByteSymbol`.Nicholas Nethercote-13/+12
2025-06-23update to literal-escaper 0.0.4 for better API without `unreachable` and fast...Marijn Schouten-8/+7
2025-04-04Replace `rustc_lexer/unescape` with `rustc-literal-escaper` crateGuillaume Gomez-1/+1
2025-04-03Tighten up assignment operator representations.Nicholas Nethercote-12/+12
2025-03-18Refactor YieldKind so postfix yield must have an expressionEric Holk-3/+7
2025-03-14Preserve yield position during pretty printingEric Holk-2/+2
2025-03-06Implement .use keyword as an alias of cloneSantiago Pastorino-0/+2
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
2025-02-03tree-wide: parallel: Fully removed all `Lrc`, replaced with `Arc`Askar Safin-2/+2
2025-01-26rustc_ast: replace some len-checks + indexing with slice patterns etc. 🧹Yotam Ofek-2/+2
2025-01-08update cfg(bootstrap)Pietro Albini-1/+1
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-3/+2
2024-12-12Add unwrap_unsafe_binder and wrap_unsafe_binder macro operatorsMichael Goulet-0/+2
2024-12-12Parsing unsafe bindersMichael Goulet-0/+4
2024-12-11allow `symbol_intern_string_literal` lint in test modulesonur-ozkan-0/+2
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-10-15Auto merge of #131723 - matthiaskrgr:rollup-krcslig, r=matthiaskrgrbors-1/+1
2024-10-15Rollup merge of #130635 - eholk:pin-reborrow-sugar, r=compiler-errorsMatthias Krüger-1/+3
2024-10-14Move trait bound modifiers into ast::PolyTraitRefMichael Goulet-1/+1
2024-10-07Add sugar for &pin (const|mut) typesEric Holk-1/+3
2024-10-01Remove anon struct and union typesMichael Goulet-6/+0
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-2/+2
2024-09-13Use the same precedence for all macro-like exprsMichael Goulet-6/+0
2024-07-29Reformat `use` declarations.Nicholas Nethercote-6/+11
2024-07-03Rollup merge of #127092 - compiler-errors:rtn-dots-redux, r=estebankMatthias Krüger-1/+1
2024-07-02Rollup merge of #126883 - dtolnay:breakvalue, r=fmeaseMatthias Krüger-1/+78
2024-07-01Parenthesize break values containing leading labelDavid Tolnay-1/+78
2024-06-28Change RTN to use .. againMichael Goulet-1/+1
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-06-17Rework precise capturing syntaxMichael Goulet-2/+4
2024-05-12Disallow cast with trailing braced macro in let-elseDavid Tolnay-4/+91
2024-05-11Add classify::expr_is_completeDavid Tolnay-39/+57
2024-05-11Macro call with braces does not require semicolon to be statementDavid Tolnay-13/+17
2024-05-11Mark expr_requires_semi_to_be_stmt call sitesDavid Tolnay-1/+2
2024-05-11Expand on expr_requires_semi_to_be_stmt documentationDavid Tolnay-10/+41
2024-04-30Remove `extern crate tracing` from numerous crates.Nicholas Nethercote-0/+1
2024-04-02Fix contains_exterior_struct_litMichael Goulet-1/+2