about summary refs log tree commit diff
path: root/compiler/rustc_ast/src/util
AgeCommit message (Expand)AuthorLines
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
2022-12-02Remove `token::Lit` from `ast::MetaItemLit`.Nicholas Nethercote-2/+25
2022-12-02Add `StrStyle` to `ast::LitKind::ByteStr`.Nicholas Nethercote-5/+11
2022-12-02Rename `LitKind::to_token_lit` as `LitKind::synthesize_token_lit`.Nicholas Nethercote-2/+2
2022-12-01Make inline const block `ExprWithBlock`Gary Guo-0/+1
2022-12-01Remove useless borrows and derefsMaybe Waffle-11/+11
2022-11-29Avoid more `MetaItem`-to-`Attribute` conversions.Nicholas Nethercote-9/+0
2022-11-29Inline and remove `MetaItemLit::from_lit_kind`.Nicholas Nethercote-7/+0
2022-11-28Rename `ast::Lit` as `ast::MetaItemLit`.Nicholas Nethercote-12/+12
2022-11-28Remove `Lit::from_included_bytes`.Nicholas Nethercote-8/+0
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-2/+4
2022-11-16Use `token::Lit` in `ast::ExprKind::Lit`.Nicholas Nethercote-22/+5
2022-11-11Introduce `ExprKind::IncludedBytes`clubby789-0/+8
2022-11-11Auto merge of #99918 - WaffleLapkin:fnFnfun, r=estebankbors-0/+6
2022-11-05Remove `unescape_byte_literal`.Nicholas Nethercote-18/+11
2022-10-01Replace some `bool` params with an enumMaybe Waffle-0/+6
2022-09-16more simple formattingRageking8-34/+34
2022-09-12Rollup merge of #100767 - kadiwa4:escape_ascii, r=jackh726Dylan DPC-6/+1
2022-09-01Always import all tracing macros for the entire crate instead of piecemeal by...Oli Scherer-1/+0
2022-08-25Handle `Err` in `ast::LitKind::to_token_lit`.Nicholas Nethercote-1/+3
2022-08-23Remove the symbol from `ast::LitKind::Err`.Nicholas Nethercote-2/+2
2022-08-19use <[u8]>::escape_ascii instead of core::ascii::escape_defaultKaDiWa-6/+1
2022-08-16Rename some things related to literals.Nicholas Nethercote-9/+9
2022-08-10Do not consider method call receiver as an argument in AST.Camille GILLOT-2/+2
2022-08-01Shrink `Token`.Nicholas Nethercote-4/+6
2022-04-30Add `do yeet` expressions to allow experimentation in nightlyScott McMurray-1/+3
2022-04-19rustc_metadata: Store a flag telling whether an item may have doc links in it...Vadim Petrochenkov-0/+8
2022-04-08Fix invalid array access in `beautify_doc_string`Guillaume Gomez-1/+4
2022-03-09Implement macro meta-variable expressionsCaio-1/+1
2022-02-262 - Make more use of let_chainsCaio-4/+4
2022-02-24Inline a hot closure in `from_lit_token`.Nicholas Nethercote-17/+22
2022-02-07Add test for block doc comments horizontal trimGuillaume Gomez-14/+6
2022-02-07Fix horizontal trim for block doc commentsGuillaume Gomez-6/+38
2022-01-19Correctly handle starts in block doc commentsGuillaume Gomez-11/+32