about summary refs log tree commit diff
path: root/compiler/rustc_expand
AgeCommit message (Expand)AuthorLines
2021-01-09Formatting.Mara Bos-1/+3
2021-01-09Allow #[rustc_builtin_macro = "name"].Mara Bos-8/+4
2021-01-09resolve/expand: Improve attribute expansion on macro definitions and callsVadim Petrochenkov-12/+4
2021-01-07rustc_parse: Better spans for synthesized token streamsVadim Petrochenkov-9/+3
2021-01-03Make `ExpnData` fields `krate` and `orig_id` privateAaron Hill-16/+15
2021-01-03remove redundant closures (clippy::redundant_closure)Matthias Krüger-1/+1
2020-12-31Auto merge of #80459 - mark-i-m:or-pat-reg, r=petrochenkovbors-46/+62
2020-12-30Implement edition-based macro pat featuremark-46/+62
2020-12-29Remove pretty-print/reparse hack, and add derive-specific hackAaron Hill-18/+65
2020-12-22Revert "Promote missing_fragment_specifier to hard error"Wesley Wiser-15/+33
2020-12-19implement edition-specific :pat behavior for 2015/18mark-7/+26
2020-12-16Remove docs for non-existent parameters in `rustc_expand`Camelid-4/+1
2020-12-12Remove some no longer necessary `#[cfg(test)]`sVadim Petrochenkov-3/+0
2020-12-04Rollup merge of #79678 - jyn514:THE-PAPERCLIP-COMETH, r=varkorDylan DPC-8/+10
2020-12-03Fix some clippy lintsJoshua Nelson-8/+10
2020-12-01Created NestedMetaItem::name_value_literal_span methodGuillaume Gomez-6/+5
2020-11-26Properly handle attributes on statementsAaron Hill-38/+13
2020-11-24Invoke attributes on the statement for statement itemsAaron Hill-5/+50
2020-11-20Auto merge of #78088 - fusion-engineering-forks:panic-fmt-lint, r=estebankbors-1/+2
2020-11-19expand: Mark some dead code in derive expansion as unreachableVadim Petrochenkov-34/+2
2020-11-19expand: Stop derive expansion un unexpected targets earlyVadim Petrochenkov-25/+35
2020-11-19expand: Cleanup attribute collection in invocation collectorVadim Petrochenkov-141/+39
2020-11-19resolve/expand: Misc cleanupVadim Petrochenkov-4/+3
2020-11-19resolve: Centralize some error reporting for unexpected macro resolutionsVadim Petrochenkov-17/+24
2020-11-19expand: Move `fully_configure` to `config.rs`Vadim Petrochenkov-42/+45
2020-11-19expand: Tell built-in macros whether we are currently in forced expansion modeVadim Petrochenkov-28/+33
2020-11-12Rollup merge of #78836 - fanzier:struct-and-slice-destructuring, r=petrochenkovMara Bos-1/+1
2020-11-12Auto merge of #78782 - petrochenkov:nodoctok, r=Aaron1011bors-13/+9
2020-11-11Implement destructuring assignment for structs and slicesFabian Zaiser-1/+1
2020-11-09Rollup merge of #78710 - petrochenkov:macvisit, r=davidtwcoDylan DPC-20/+1
2020-11-09Do not collect tokens for doc commentsVadim Petrochenkov-13/+9
2020-11-07typo and formattingo752d-10/+9
2020-11-06rustc_expand: use collect_bang helper instead of manual reimplementationest31-3/+3
2020-11-03rustc_ast: `visit_mac` -> `visit_mac_call`Vadim Petrochenkov-2/+1
2020-11-03Rollup merge of #78626 - fusion-engineering-forks:deprecated-trait-impl, r=es...Mara Bos-1/+1
2020-11-03rustc_ast: Do not panic by default when visiting macro callsVadim Petrochenkov-18/+0
2020-11-03Rollup merge of #78376 - Aaron1011:feature/consistent-empty-expr, r=petrochenkovYuki Okushi-1/+37
2020-11-03Expand `NtExpr` tokens only in key-value attributesVadim Petrochenkov-1/+8
2020-11-02Treat trailing semicolon as a statement in macro callAaron Hill-1/+37
2020-11-01Use the right span for errors about #[deprecated] attributes.Mara Bos-1/+1
2020-11-01Rollup merge of #78603 - petrochenkov:fourdigits, r=matthewjasperMara Bos-9/+11
2020-10-31expand: Tweak a comment in implementation of `macro_rules`Vadim Petrochenkov-9/+11
2020-10-31parser: Cleanup `LazyTokenStream` and avoid some clonesVadim Petrochenkov-7/+6
2020-10-30Fix some more clippy warningsJoshua Nelson-17/+10
2020-10-25Rollup merge of #78326 - Aaron1011:fix/min-stmt-lints, r=petrochenkovYuki Okushi-1/+2
2020-10-24Fix inconsistencies in handling of inert attributes on statementsAaron Hill-1/+2
2020-10-21Unconditionally capture tokens for attributes.Aaron Hill-1/+35
2020-10-19Avoid cloning the contents of a `TokenStream` in a few placesAaron Hill-1/+2
2020-10-19Fix brace problem in panic message in rustc_expand.Mara Bos-1/+2
2020-10-14Remove unused code from remaining compiler cratesest31-111/+0