about summary refs log tree commit diff
path: root/compiler/rustc_ast/src/util
AgeCommit message (Expand)AuthorLines
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
2023-05-02fix TODO commentsDeadbeef-2/+8
2023-05-02update and add a few testsDeadbeef-2/+2
2023-05-02initial step towards implementing C string literalsDeadbeef-1/+54
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-12Remove `box_syntax` from AST and use in toolsclubby789-1/+0
2023-03-03Match unmatched backticks in comments in compiler/est31-1/+1
2023-01-30Replace enum `==`s with `match`es where it makes senseMaybe Waffle-16/+17
2023-01-28Rollup merge of #107194 - xfix:remove-slice-internals-dependency-in-rustc-ast...Yuki Okushi-1/+1
2023-01-26Auto merge of #106745 - m-ou-se:format-args-ast, r=oli-obkbors-1/+3
2023-01-22Remove dependency on slice_internals feature in rustc_astKonrad Borowski-1/+1
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
2023-01-05Fix `uninlined_format_args` for some compiler cratesnils-3/+3
2023-01-02Print correct base for too-large literalsclubby789-2/+2
2022-12-20rustc: Remove needless lifetimesJeremy Stucki-1/+1
2022-12-12Auto merge of #105160 - nnethercote:rm-Lit-token_lit, r=petrochenkovbors-48/+94
2022-12-05Remove `LitKind::synthesize_token_lit`.Nicholas Nethercote-39/+44
2022-12-05Remove `ExtCtxt::expr_lit`.Nicholas Nethercote-11/+23
2022-12-04Rollup merge of #105142 - nbdd0121:inline_const, r=petrochenkovMatthias Krüger-0/+1