about summary refs log tree commit diff
path: root/compiler/rustc_expand
AgeCommit message (Expand)AuthorLines
2021-02-10Tweak stability attribute diagnostic outputEsteban Küber-3/+6
2021-02-09add method to construct def site path as a vec of identsSkgland-0/+4
2021-02-07Address review commentsVadim Petrochenkov-0/+3
2021-02-07expand/resolve: Turn `#[derive]` into a regular macro attributeVadim Petrochenkov-342/+135
2021-01-31Improve handling of spans around macro result parse errorsAaron Hill-1/+3
2021-01-28Add `SEMICOLON_IN_EXPRESSIONS_FROM_MACROS` lintAaron Hill-1/+14
2021-01-28Rollup merge of #81284 - jyn514:impl-times, r=wesleywiserYuki Okushi-3/+5
2021-01-23Make `-Z time-passes` less noisyJoshua Nelson-3/+5
2021-01-20Force token collection to run when parsing nonterminalsAaron Hill-5/+7
2021-01-17Remove dead codeRyan Levick-29/+1
2021-01-14Use Option::map_or instead of `.map(..).unwrap_or(..)`LingMan-6/+6
2021-01-12Auto merge of #80499 - matthiaskrgr:red_clos, r=estebankbors-1/+1
2021-01-10resolve: Simplify built-in macro tableVadim Petrochenkov-1/+1
2021-01-10Rollup merge of #80850 - m-ou-se:rustc-builtin-macro-name, r=petrochenkovYuki Okushi-8/+6
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