summary refs log tree commit diff
path: root/compiler/rustc_expand/src/base.rs
AgeCommit message (Expand)AuthorLines
2021-04-11Implement token-based handling of attributes during expansionAaron Hill-60/+19
2021-04-04resolve/expand: Cache intermediate results of `#[derive]` expansionVadim Petrochenkov-5/+4
2021-03-18Rollup merge of #83168 - Aaron1011:lint-procedural-masquerade, r=petrochenkovDylan DPC-0/+40
2021-03-16ast/hir: Rename field-related structuresVadim Petrochenkov-33/+33
2021-03-15Extend `proc_macro_back_compat` lint to `procedural-masquerade`Aaron Hill-0/+40
2021-03-12Auto merge of #82422 - petrochenkov:allunst, r=oli-obkbors-2/+3
2021-03-08Rollup merge of #82682 - petrochenkov:cfgeval, r=Aaron1011Dylan DPC-2/+16
2021-03-08Rollup merge of #82415 - petrochenkov:modin3, r=davidtwcoDylan DPC-9/+28
2021-03-06rustc_ast: Replace `AstLike::finalize_tokens` with a getter `tokens_mut`Vadim Petrochenkov-2/+16
2021-03-05Auto merge of #71481 - estebank:inherit-stability, r=nikomatsakisbors-3/+9
2021-03-05rustc_interface: Hide some hacky details of early linting from expandVadim Petrochenkov-3/+6
2021-03-05expand: Some more consistent naming in module loadingVadim Petrochenkov-3/+3
2021-03-05expand: Move module file path stack from global session to expansion dataVadim Petrochenkov-3/+19
2021-02-27Combine HasAttrs and HasTokens into AstLikeAaron Hill-4/+8
2021-02-23expand: Do not allocate `Lrc` for `allow_internal_unstable` list unless neces...Vadim Petrochenkov-2/+3
2021-02-21remove redundant wrapping of return types of allow_internal_unstable() and ru...Matthias Krüger-2/+2
2021-02-11Add test for "const stability on macro"Esteban Küber-2/+5
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-28/+16
2021-01-23Make `-Z time-passes` less noisyJoshua Nelson-2/+4
2021-01-10resolve: Simplify built-in macro tableVadim Petrochenkov-1/+1
2021-01-09Formatting.Mara Bos-1/+3
2021-01-09Allow #[rustc_builtin_macro = "name"].Mara Bos-8/+4
2021-01-07rustc_parse: Better spans for synthesized token streamsVadim Petrochenkov-1/+1
2021-01-03Make `ExpnData` fields `krate` and `orig_id` privateAaron Hill-11/+9
2020-12-29Remove pretty-print/reparse hack, and add derive-specific hackAaron Hill-6/+9
2020-12-03Fix some clippy lintsJoshua Nelson-6/+4
2020-11-26Properly handle attributes on statementsAaron Hill-2/+0
2020-11-24Invoke attributes on the statement for statement itemsAaron Hill-0/+9
2020-11-19resolve/expand: Misc cleanupVadim Petrochenkov-1/+3
2020-11-19expand: Tell built-in macros whether we are currently in forced expansion modeVadim Petrochenkov-2/+5
2020-11-01Use the right span for errors about #[deprecated] attributes.Mara Bos-1/+1
2020-10-14Remove unused code from remaining compiler cratesest31-14/+0
2020-09-28expand: Minor fn ptr call cleanupVadim Petrochenkov-3/+3
2020-09-28expand: Stop un-interpolating `NtIdent`s before passing them to built-in macrosVadim Petrochenkov-25/+2
2020-09-10Attach tokens to `ast::Stmt`Aaron Hill-0/+2
2020-09-10Attach `TokenStream` to `ast::Ty`Aaron Hill-0/+1
2020-08-30mv compiler to compiler/mark-0/+1227