about summary refs log tree commit diff
path: root/compiler/rustc_expand/src
AgeCommit message (Expand)AuthorLines
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
2020-10-07Detect blocks that could be struct expr bodiesEsteban Küber-2/+2
2020-10-02Improve E0777 help messageGuillaume Gomez-4/+13
2020-10-01Import struct_span_err macro instead of prepending itGuillaume Gomez-2/+2
2020-10-01Create E0777 error code for "invalid literal in derive"Guillaume Gomez-4/+9
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-17Remove redundant #![feature(...)] 's from compiler/est31-1/+0
2020-09-16Rollup merge of #75146 - tmiasko:range-overflow, r=Mark-SimulacrumDylan DPC-2/+2
2020-09-10Attach tokens to `ast::Stmt`Aaron Hill-7/+25
2020-09-10Attach `TokenStream` to `ast::Visibility`Aaron Hill-8/+27
2020-09-10Attach `TokenStream` to `ast::Path`Aaron Hill-2/+2
2020-09-10Attach tokens to `NtMeta` (`ast::AttrItem`)Aaron Hill-0/+1
2020-09-10Attach `TokenStream` to `ast::Ty`Aaron Hill-5/+10
2020-09-10Attach `TokenStream` to `ast::Block`Aaron Hill-1/+7
2020-09-10Syntactically permit unsafety on modsDavid Tolnay-10/+31
2020-09-10Auto merge of #76291 - matklad:spacing, r=petrochenkovbors-8/+8
2020-09-10Revert "Rollup merge of #76285 - matklad:censor-spacing, r=petrochenkov"Tyler Mandry-17/+5
2020-09-09Auto merge of #76406 - GuillaumeGomez:create-e0774, r=pickfire,jyn514bors-3/+6
2020-09-09Rollup merge of #76355 - calebcartwright:reduce-rustfmt-visibility, r=nikomat...Dylan DPC-2/+1
2020-09-08Create new E0774 code errorGuillaume Gomez-3/+6