summary refs log tree commit diff
path: root/compiler/rustc_expand/src/expand.rs
AgeCommit message (Expand)AuthorLines
2021-07-17Only use `assign_id!` for ast nodes that support attributesAaron Hill-5/+5
2021-07-17Add additional missing lint handling logicAaron Hill-1/+8
2021-07-17Compute a better `lint_node_id` during expansionAaron Hill-22/+78
2021-07-17Use LocalExpnId where possible.Camille GILLOT-3/+3
2021-07-14Auto merge of #87118 - JohnTitor:rollup-8ltidsq, r=JohnTitorbors-4/+8
2021-07-14Suggest a path separator if a stray colon is found in a match armFabian Wolff-4/+8
2021-07-13Cache expansion hash.Camille GILLOT-2/+2
2021-06-21Rollup merge of #86491 - petrochenkov:derefact, r=Aaron1011Yuki Okushi-28/+2
2021-06-21Do not set depth to 0 in fully_expand_fragmentDeadbeef-1/+1
2021-06-20expand: Move some more derive logic to `rustc_builtin_macros`Vadim Petrochenkov-28/+2
2021-06-04Remove `doc(include)`Joshua Nelson-139/+5
2021-05-05Use local and remapped paths where appropriateAndy Wang-1/+1
2021-05-05Make local_path in RealFileName::Remapped Option to be removed in exported me...Andy Wang-1/+3
2021-05-05Rename RealFileName::Named to LocalPath and Devirtualized to RemappedAndy Wang-1/+1
2021-04-29Implement RFC 1260 with feature_name `imported_main`.Charles Lew-1/+3
2021-04-11Implement token-based handling of attributes during expansionAaron Hill-10/+28
2021-04-10Expand derive invocations in left-to-right orderAaron Hill-3/+9
2021-04-07Rollup merge of #83816 - JohnTitor:unused-doc-comments-on-macros, r=varkorDylan DPC-2/+12
2021-04-06Rollup merge of #83814 - petrochenkov:emptyexpr, r=davidtwcoYuki Okushi-1/+8
2021-04-04resolve/expand: Cache intermediate results of `#[derive]` expansionVadim Petrochenkov-1/+1
2021-04-04Trigger `unused_doc_comments` on macros at onceYuki Okushi-2/+12
2021-04-03expand: Do not ICE when a legacy AST-based macro attribute produces and empty...Vadim Petrochenkov-1/+8
2021-03-25Ban custom inner attributes in expressions and statementsAaron Hill-7/+13
2021-03-19stabilize or_patternsmark-2/+2
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