summary refs log tree commit diff
path: root/compiler/rustc_ast/src/util
AgeCommit message (Expand)AuthorLines
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
2023-12-19Plumb awaitness of for loopsEric Holk-3/+11
2023-12-17Rollup merge of #118880 - GearsDatapacks:issue-118859-fix, r=compiler-errorsMatthias Krüger-3/+32
2023-12-14Change expr_trailing_brace to an exhaustive match to force new expression kin...GearsDatapacks-3/+32
2023-12-13Unify single-char and multi-char `CStrUnit::Char` handling.Nicholas Nethercote-1/+0
2023-12-13Don't rebuild raw strings when unescaping.Nicholas Nethercote-43/+30
2023-10-27Add gen blocks to ast and do some broken ast loweringOli Scherer-3/+3
2023-09-11Move let expression checking to parsingMatthew Jasper-1/+1
2023-08-04Improve spans for indexing expressionsNilstrieb-1/+1
2023-07-23more clippy::style fixes:Matthias Krüger-1/+1
2023-06-19Syntatically accept `become` expressionsMaybe Waffle-1/+3
2023-05-24Use `Option::is_some_and` and `Result::is_ok_and` in the compilerMaybe Waffle-2/+1
2023-05-05Rollup merge of #108801 - fee1-dead-contrib:c-str, r=compiler-errorsDylan DPC-1/+62
2023-05-02make it semantic errorDeadbeef-0/+2