about summary refs log tree commit diff
path: root/compiler/rustc_ast_lowering
AgeCommit message (Expand)AuthorLines
2023-04-24Remove "V1" from ArgumentsV1 and FlagsV1.Mara Bos-9/+9
2023-04-24Split `{Idx, IndexVec, IndexSlice}` into their own modulesMaybe Waffle-3/+3
2023-04-22Also arena-allocate `ast::MacroDef` to make `Item: Copy`Nilstrieb-1/+2
2023-04-21offset_ofDrMeepster-0/+9
2023-04-20Update comments in format args lowering.Mara Bos-7/+7
2023-04-19Auto merge of #110407 - Nilstrieb:fluent-macro, r=davidtwcobors-1/+2
2023-04-19Rollup merge of #110451 - WaffleLapkin:ensure_return_elem, r=scottmcmMatthias Krüger-13/+12
2023-04-18Add `rustc_fluent_macro` to decouple fluent from `rustc_macros`Nilstrieb-1/+2
2023-04-17Use `Item::expect_*` and `ImplItem::expect_*` moreMaybe Waffle-6/+4
2023-04-17Make `IndexVec::ensure_contains_elem` return a reference to the elementMaybe Waffle-13/+12
2023-04-17Auto merge of #109588 - Nilstrieb:dropless-expr, r=compiler-errorsbors-30/+25
2023-04-16Alloc `hir::Lit` in an arena to remove the destructor from `Expr`Nilstrieb-30/+25
2023-04-16use matches! macro in more placesMatthias Krüger-4/+1
2023-04-12Rollup merge of #110203 - compiler-errors:rtn-dots, r=eholkMatthias Krüger-31/+17
2023-04-10Remove `..` from return type notationMichael Goulet-31/+17
2023-04-10Fix typos in compilerDaniPopes-4/+4
2023-04-04Rename `ast::Static` to `ast::StaticItem` to match `ast::ConstItem`Oli Scherer-1/+1
2023-04-04box a bunch of large typesOli Scherer-4/+4
2023-04-04Split out ast::ItemKind::Const into its own structOli Scherer-5/+5
2023-04-04rust-analyzer guided tuple field to named fieldOli Scherer-1/+1
2023-04-04rust-analyzer guided enum variant structificationOli Scherer-1/+1
2023-04-02Use `&IndexSlice` instead of `&IndexVec` where possibleScott McMurray-4/+4
2023-03-31Auto merge of #109010 - compiler-errors:rtn, r=eholkbors-21/+119
2023-03-29Rollup merge of #109664 - m-ou-se:format-args-placeholder-span, r=oli-obkDylan DPC-23/+43
2023-03-28Add `(..)` syntax for RTNMichael Goulet-36/+91
2023-03-28Add tests and error messagesMichael Goulet-5/+36
2023-03-28RTNMichael Goulet-0/+12
2023-03-28ParenthesizedGenericArgs::{Ok -> ParenSugar}Michael Goulet-5/+5
2023-03-27Rollup merge of #109354 - Swatinem:rm-closureid, r=compiler-errorsGuillaume Gomez-42/+42
2023-03-27Use span of placeholders in format_args!() expansion.Mara Bos-23/+43
2023-03-22rustc: Remove unused `Session` argument from some attribute functionsVadim Petrochenkov-1/+1
2023-03-19Remove the `NodeId` of `ast::ExprKind::Async`Arpad Borsos-42/+42
2023-03-16Gate fmt args flattening behind -Zflatten-format-args.Mara Bos-2/+5
2023-03-16Don't allow new const panic through format flattening.Mara Bos-1/+17
2023-03-16Also inline integer literals into format_args!().Mara Bos-5/+18
2023-03-16Check all arg indexes before removing inlined format args.Mara Bos-13/+15
2023-03-16Remove unreachable branch in format_args ast lowering.Mara Bos-19/+8
2023-03-16Fix argument index remapping in format_args flattening.Mara Bos-28/+36
2023-03-16Only inline `{}` string literals in format_args.Mara Bos-0/+1
2023-03-16Support flattening/inlining format_args through & and ().Mara Bos-6/+12
2023-03-16Inline string literals into format_args!().Mara Bos-3/+61
2023-03-16Coalesce adjacent literal pieces in expand_format_args.Mara Bos-16/+16
2023-03-16Flatten nested format_args!() into one.Mara Bos-2/+100
2023-03-14Auto merge of #104833 - Swatinem:async-identity-future, r=compiler-errorsbors-38/+28
2023-03-13Auto merge of #108471 - clubby789:unbox-the-syntax, r=Nilstrieb,est31bors-1/+0
2023-03-12Auto merge of #108820 - cjgillot:ensure-on-disk, r=oli-obkbors-2/+3
2023-03-12Remove `box_syntax` from AST and use in toolsclubby789-1/+0
2023-03-12Auto merge of #108794 - nnethercote:avoid-unnecessary-hashing, r=cjgillotbors-31/+24
2023-03-11Use ensure_with_value in a few more places.Camille GILLOT-2/+3
2023-03-11Simplify message pathsest31-1/+1