about summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros/src
AgeCommit message (Expand)AuthorLines
2023-02-22errors: generate typed identifiers in each crateDavid Wood-0/+4
2023-02-21Use `ThinVec` in a few more AST types.Nicholas Nethercote-3/+3
2023-02-21Use `ThinVec` in `ast::ExprKind::Match`.Nicholas Nethercote-5/+5
2023-02-21Use `ThinVec` in `ast::PatKind::Struct`.Nicholas Nethercote-2/+2
2023-02-21Use `ThinVec` in `ast::Block`.Nicholas Nethercote-28/+28
2023-02-21Use `ThinVec` in various AST types.Nicholas Nethercote-82/+96
2023-02-21Use `ThinVec` in `ast::Impl` and related types.Nicholas Nethercote-1/+2
2023-02-21Use `ThinVec` in `ast::WhereClause`.Nicholas Nethercote-1/+6
2023-02-21Use `ThinVec` in `ast::Generics` and related types.Nicholas Nethercote-5/+5
2023-02-19Auto merge of #108128 - clubby789:builtin-derived-attr, r=jackh726bors-2/+1
2023-02-16Properly check for builtin derivesclubby789-2/+1
2023-02-16Replace some `then`s with some `then_some`sMaybe Waffle-1/+1
2023-02-16`if $c:expr { Some($r:expr) } else { None }` =>> `$c.then(|| $r)`Maybe Waffle-11/+7
2023-02-09Extend `BYTE_SLICE_IN_PACKED_STRUCT_WITH_DERIVE`.Nicholas Nethercote-20/+35
2023-02-07Add ~const bounds trait bounds when using derive_constMichael Goulet-10/+27
2023-02-02Don't generate unecessary `&&self.field` in deriving Debugclubby789-5/+20
2023-02-01Fix syntax in `-Zunpretty-expanded` output for derived `PartialEq`.Nicholas Nethercote-5/+19
2023-01-30Allow more deriving on packed structs.Nicholas Nethercote-48/+98
2023-01-28Auto merge of #103659 - clubby789:improve-partialord-derive, r=nagisabors-9/+73
2023-01-27Replace format flags u32 by enums and bools.Mara Bos-2/+11
2023-01-26Auto merge of #106745 - m-ou-se:format-args-ast, r=oli-obkbors-605/+11
2023-01-21Auto merge of #106884 - clubby789:fieldless-enum-debug, r=michaelwoeristerbors-42/+124
2023-01-19Special case `derive(Debug)` for fieldless enumsclubby789-2/+49
2023-01-19Add enum for fieldless unificationclubby789-43/+78
2023-01-17Remove double spaces after dots in commentsMaybe Waffle-4/+4
2023-01-15Special case deriving `PartialOrd` for certain enum layoutsclubby789-9/+73
2023-01-12Update comment explaining format_args!() expansion.Mara Bos-4/+4
2023-01-12Expand format_args!() in rust_ast_lowering.Mara Bos-601/+7
2023-01-02Update format.rsGimbles-1/+1
2022-12-28Rename `Rptr` to `Ref` in AST and HIRNilstrieb-7/+6
2022-12-24Rollup merge of #105975 - jeremystucki:rustc-remove-needless-lifetimes, r=eholkMatthias Krüger-1/+1
2022-12-23Rollup merge of #105978 - jyn514:unused_proc_macro_decl, r=tmiaskoMatthias Krüger-0/+2
2022-12-22Mark `proc_macro_decls_static` as always usedJoshua Nelson-0/+2
2022-12-20rustc: Remove needless lifetimesJeremy Stucki-1/+1
2022-12-18Rollup merge of #105870 - matthiaskrgr:useless_conv, r=oli-obkMatthias Krüger-2/+1
2022-12-18avoid .into() conversion to identical typesMatthias Krüger-2/+1
2022-12-18remove redundant cloneMatthias Krüger-1/+1
2022-12-13Rollup merge of #105620 - TaKO8Ki:remove-unnecessary-uses-of-clone, r=compile...Matthias Krüger-2/+2
2022-12-13remove unnecessary uses of `clone`Takayuki Maeda-2/+2
2022-12-12Auto merge of #105160 - nnethercote:rm-Lit-token_lit, r=petrochenkovbors-7/+9
2022-12-11Rollup merge of #105537 - kadiwa4:remove_some_imports, r=fee1-deadMatthias Krüger-2/+0
2022-12-10compiler: remove unnecessary imports and qualified pathsKaDiWa-2/+0
2022-12-10Migrate parts of `rustc_expand` to session diagnosticsnils-3/+3
2022-12-09Auto merge of #105363 - WaffleLapkin:thin2win_box_next_argument, r=nnethercotebors-1/+1
2022-12-06`rustc_builtin_macros`: remove `ref` patternsMaybe Waffle-196/+176
2022-12-06Box `rustc_parse_format::Piece::NextArgument`Maybe Waffle-1/+1
2022-12-02Rollup merge of #104614 - Nilstrieb:type-ascribe!, r=TaKO8KiMatthias Krüger-0/+37
2022-12-02Auto merge of #104963 - petrochenkov:noaddids2, r=cjgillotbors-1/+1
2022-12-02Remove `token::Lit` from `ast::MetaItemLit`.Nicholas Nethercote-4/+6
2022-12-02Add `StrStyle` to `ast::LitKind::ByteStr`.Nicholas Nethercote-3/+3