summary refs log tree commit diff
path: root/compiler/rustc_ast/src/util
AgeCommit message (Expand)AuthorLines
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
2024-04-02Fix precedence of postfix matchMichael Goulet-1/+3
2024-03-14Add compiler support for parsing `f16` and `f128`Trevor Gross-0/+2
2024-03-01Move `gather_comments`.Nicholas Nethercote-125/+1
2024-02-25Add `ErrorGuaranteed` to `ast::ExprKind::Err`Lieselotte-1/+1
2024-02-25Add `ast::ExprKind::Dummy`Lieselotte-1/+2
2024-02-15Add suffixes to `LitError`.Nicholas Nethercote-11/+13
2024-02-15Add `ErrorGuaranteed` to `ast::LitKind::Err`, `token::LitKind::Err`.Nicholas Nethercote-3/+3
2024-02-15Remove `LitError::LexerError`.Nicholas Nethercote-8/+3
2024-01-25Rename the unescaping functions.Nicholas Nethercote-5/+4
2024-01-25Rework `CStrUnit`.Nicholas Nethercote-3/+3
2024-01-25Avoid useless checking in `from_token_lit`.Nicholas Nethercote-62/+21
2024-01-19Pack the u128 in LitKind::IntJosh Stone-1/+1
2024-01-19Rollup merge of #119062 - compiler-errors:asm-in-let-else, r=davidtwco,est31Matthias Krüger-3/+7
2024-01-17Deny braced macro invocations in let-elseMichael Goulet-3/+7
2024-01-12Detect `NulInCStr` error earlier.Nicholas Nethercote-10/+2