summary refs log tree commit diff
path: root/compiler/rustc_expand/src/expand.rs
AgeCommit message (Expand)AuthorLines
2021-03-16ast/hir: Rename field-related structuresVadim Petrochenkov-30/+30
2021-03-14expand: Resolve and expand inner attributes on out-of-line modulesVadim Petrochenkov-7/+13
2021-03-05expand: Align some code with the PR fixing inner attributes on out-of-line mo...Vadim Petrochenkov-6/+13
2021-03-05rustc_interface: Hide some hacky details of early linting from expandVadim Petrochenkov-6/+4
2021-03-05expand: Some more consistent naming in module loadingVadim Petrochenkov-9/+11
2021-03-05expand: Less path cloning during module loadingVadim Petrochenkov-14/+22
2021-03-05expand: Move module file path stack from global session to expansion dataVadim Petrochenkov-35/+36
2021-02-27Combine HasAttrs and HasTokens into AstLikeAaron Hill-4/+4
2021-02-23expand: Preserve order of inert attributes during expansionVadim Petrochenkov-9/+14
2021-02-18ast: Keep expansion status for out-of-line module itemsVadim Petrochenkov-43/+47
2021-02-18ast: Stop using `Mod` in `Crate`Vadim Petrochenkov-24/+14
2021-02-17Rollup merge of #81869 - mark-i-m:leading-vert, r=petrochenkovDylan DPC-2/+4
2021-02-15Simplify pattern grammar by allowing nested leading vertmark-2/+4
2021-02-14expand: Remove redundant calls to configureVadim Petrochenkov-21/+3
2021-02-14expand: Remove obsolete `ExpansionConfig::keep_macs`Vadim Petrochenkov-4/+2
2021-02-07expand/resolve: Turn `#[derive]` into a regular macro attributeVadim Petrochenkov-222/+117
2021-01-31Improve handling of spans around macro result parse errorsAaron Hill-1/+3
2021-01-28Rollup merge of #81284 - jyn514:impl-times, r=wesleywiserYuki Okushi-1/+1
2021-01-23Make `-Z time-passes` less noisyJoshua Nelson-1/+1
2021-01-20Force token collection to run when parsing nonterminalsAaron Hill-2/+2
2021-01-09resolve/expand: Improve attribute expansion on macro definitions and callsVadim Petrochenkov-7/+2
2021-01-07rustc_parse: Better spans for synthesized token streamsVadim Petrochenkov-1/+0
2021-01-03Make `ExpnData` fields `krate` and `orig_id` privateAaron Hill-5/+6
2020-12-29Remove pretty-print/reparse hack, and add derive-specific hackAaron Hill-6/+35
2020-12-04Rollup merge of #79678 - jyn514:THE-PAPERCLIP-COMETH, r=varkorDylan DPC-2/+6
2020-12-03Fix some clippy lintsJoshua Nelson-2/+6
2020-12-01Created NestedMetaItem::name_value_literal_span methodGuillaume Gomez-6/+5
2020-11-26Properly handle attributes on statementsAaron Hill-9/+3
2020-11-24Invoke attributes on the statement for statement itemsAaron Hill-4/+21
2020-11-19expand: Mark some dead code in derive expansion as unreachableVadim Petrochenkov-3/+0
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-3/+0
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/+0
2020-11-19expand: Tell built-in macros whether we are currently in forced expansion modeVadim Petrochenkov-26/+28
2020-11-12Auto merge of #78782 - petrochenkov:nodoctok, r=Aaron1011bors-6/+4
2020-11-09Rollup merge of #78710 - petrochenkov:macvisit, r=davidtwcoDylan DPC-2/+0
2020-11-09Do not collect tokens for doc commentsVadim Petrochenkov-6/+4
2020-11-06rustc_expand: use collect_bang helper instead of manual reimplementationest31-3/+3
2020-11-03rustc_ast: Do not panic by default when visiting macro callsVadim Petrochenkov-2/+0
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-0/+1
2020-10-07Detect blocks that could be struct expr bodiesEsteban Küber-2/+2
2020-10-01Import struct_span_err macro instead of prepending itGuillaume Gomez-2/+2
2020-09-10Attach tokens to `ast::Stmt`Aaron Hill-2/+2
2020-09-10Attach `TokenStream` to `ast::Visibility`Aaron Hill-2/+5
2020-09-10Attach tokens to `NtMeta` (`ast::AttrItem`)Aaron Hill-0/+1
2020-09-10Syntactically permit unsafety on modsDavid Tolnay-5/+22