about summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros
AgeCommit message (Expand)AuthorLines
2022-07-04Avoid unnecessary blocks in derive output.Nicholas Nethercote-111/+146
2022-07-04Don't use match-destructuring for derived ops on structs.Nicholas Nethercote-44/+80
2022-07-04Comment fixes.Nicholas Nethercote-2/+1
2022-07-01Change `Ty::Tuple` to `Ty::Unit`.Nicholas Nethercote-14/+8
2022-07-01Rename `Ty::Literal` as `Ty::Path`.Nicholas Nethercote-29/+18
2022-07-01Remove lifetime support in deriving code.Nicholas Nethercote-32/+11
2022-07-01Simplify pointer handling.Nicholas Nethercote-100/+43
2022-07-01`expand_deriving_clone` tweaks.Nicholas Nethercote-28/+22
2022-07-01Remove some commented-out code.Nicholas Nethercote-2/+0
2022-07-01Remove some unnecessary `pub`s.Nicholas Nethercote-3/+3
2022-07-01Remove `Substructure::self_args`.Nicholas Nethercote-18/+2
2022-07-01Remove `{Method,Trait}Def::is_unsafe`.Nicholas Nethercote-37/+2
2022-07-01Remove `Substructure::method_ident`.Nicholas Nethercote-9/+1
2022-07-01Remove unnecessary fields from `EnumNonMatchingCollapsed`.Nicholas Nethercote-30/+14
2022-07-01Use `split_{first,last}` in `cs_fold1`.Nicholas Nethercote-9/+8
2022-06-29Auto merge of #98558 - nnethercote:smallvec-1.8.1, r=lqdbors-1/+1
2022-06-29Auto merge of #98376 - nnethercote:improve-derive-PartialEq, r=petrochenkovbors-131/+85
2022-06-28Rollup merge of #98337 - c410-f3r:assert-compiler, r=oli-obkDylan DPC-15/+81
2022-06-27Update `smallvec` to 1.8.1.Nicholas Nethercote-1/+1
2022-06-27Convert `process_variant` functions into closures.Nicholas Nethercote-16/+12
2022-06-27Factor out the repeated `assert_ty_bounds` function.Nicholas Nethercote-44/+39
2022-06-27Merge `build_enum_match_tuple` into `expand_enum_method_body`.Nicholas Nethercote-52/+20
2022-06-27Improve derived discriminant testing.Nicholas Nethercote-21/+16
2022-06-26Rollup merge of #98428 - davidtwco:translation-derive-typed-identifiers, r=ol...Matthias Krüger-2/+2
2022-06-26Auto merge of #98190 - nnethercote:optimize-derive-Debug-code, r=scottmcmbors-97/+125
2022-06-24macros: use typed identifiers in diag deriveDavid Wood-2/+2
2022-06-24Rollup merge of #98394 - Enselic:fixup-rustc_main-renames, r=petrochenkovYuki Okushi-5/+6
2022-06-24Optimize the code produced by `derive(Debug)`.Nicholas Nethercote-88/+117
2022-06-23Rename some `ExtCtxt` methods.Nicholas Nethercote-9/+8
2022-06-22Fixup missing renames from `#[main]` to `#[rustc_main]`Martin Nordholts-5/+6
2022-06-21Migrate `builtin-macros-expected-one-cfg-pattern` to `SessionDiagnostic`beetrees-1/+8
2022-06-21Migrate `builtin-macros-requires-cfg-pattern` to `SessionDiagnostic`beetrees-5/+13
2022-06-21[RFC 2011] Optimize non-consuming operatorsCaio-15/+81
2022-06-15[RFC 2011] Expand expressions where possibleCaio-2/+90
2022-06-15[RFC 2011] Minimal initial implementationCaio-26/+282
2022-06-13remove unnecessary `to_string` and `String::new` for `tool_only_span_suggestion`Takayuki Maeda-2/+2
2022-06-13remove unnecessary `to_string` and `String::new`Takayuki Maeda-4/+4
2022-06-03Fully stabilize NLLJack Huey-1/+0
2022-06-02Basic compiler infraCaio-24/+95
2022-05-28Auto merge of #97461 - eddyb:proc-macro-less-payload, r=bjorn3bors-32/+39
2022-05-28Rollup merge of #97458 - estebank:use-self-in-derive-macro, r=compiler-errorsMatthias Krüger-1/+3
2022-05-27proc_macro: don't pass a client-side function pointer through the server.Eduard-Mihai Burtescu-32/+39
2022-05-27Modify `derive(Debug)` to use `Self` in struct literal to avoid redundant errorEsteban Küber-1/+3
2022-05-27Simplify types in `proc_macro_harness.rs`.Nicholas Nethercote-27/+17
2022-05-25Fix a typo on Struct `Substructure`Yuki Okushi-1/+1
2022-05-22rustc_parse: Move AST -> TokenStream conversion logic to `rustc_ast`Vadim Petrochenkov-10/+1
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-7/+6
2022-05-11ast: Introduce some traits to get AST node properties genericallyVadim Petrochenkov-8/+3
2022-05-07Auto merge of #96094 - Elliot-Roberts:fix_doctests, r=compiler-errorsbors-11/+14
2022-05-05Auto merge of #91779 - ridwanabdillahi:natvis, r=michaelwoeristerbors-43/+4