about summary refs log tree commit diff
path: root/compiler/rustc_expand/src
AgeCommit message (Expand)AuthorLines
2021-05-03Unify rustc and rustdoc parsing of `cfg()`Joshua Nelson-25/+29
2021-04-28Auto merge of #83386 - mark-i-m:stabilize-pat2015, r=nikomatsakisbors-22/+7
2021-04-27remove pat2021mark-15/+3
2021-04-19fix few typosklensy-3/+3
2021-04-15rename pat2015 to pat_parammark-4/+4
2021-04-15stabilize :pat2015, leave :pat2021 gatedmark-13/+10
2021-04-11Implement token-based handling of attributes during expansionAaron Hill-96/+144
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-6/+5
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-04-02address commentshi-rustin-1/+1
2021-04-01add OR_PATTERNS_BACK_COMPAT linthi-rustin-3/+39
2021-03-27Remove (lots of) dead codeJoshua Nelson-14/+7
2021-03-27Rollup merge of #82917 - cuviper:iter-zip, r=m-ou-seDylan DPC-1/+4
2021-03-26Use iter::zip in compiler/Josh Stone-1/+4
2021-03-25Ban custom inner attributes in expressions and statementsAaron Hill-7/+13
2021-03-23Rollup merge of #83384 - mark-i-m:rename-pat2018, r=joshtriplettYuki Okushi-3/+3
2021-03-22Auto merge of #79278 - mark-i-m:stabilize-or-pattern, r=nikomatsakisbors-3/+3
2021-03-22rename :pat2018 -> :pat215mark-3/+3
2021-03-19stabilize or_patternsmark-3/+3
2021-03-19Extend `proc_macro_back_compat` lint to `js-sys`Aaron Hill-4/+30
2021-03-18Extend `proc_macro_back_compat` lint to `actix-web`Aaron Hill-17/+29
2021-03-18Rollup merge of #83168 - Aaron1011:lint-procedural-masquerade, r=petrochenkovDylan DPC-2/+43
2021-03-16ast: Reduce size of `ExprKind` by boxing fields of `ExprKind::Struct`Vadim Petrochenkov-1/+4
2021-03-16ast/hir: Rename field-related structuresVadim Petrochenkov-80/+80
2021-03-15Extend `proc_macro_back_compat` lint to `procedural-masquerade`Aaron Hill-2/+43
2021-03-14Introduce `proc_macro_back_compat` lint, and emit for `time-macros-impl`Aaron Hill-4/+66
2021-03-14expand: Resolve and expand inner attributes on out-of-line modulesVadim Petrochenkov-26/+52
2021-03-12Auto merge of #82422 - petrochenkov:allunst, r=oli-obkbors-2/+3
2021-03-08Rollup merge of #82682 - petrochenkov:cfgeval, r=Aaron1011Dylan DPC-171/+22
2021-03-08Rollup merge of #82415 - petrochenkov:modin3, r=davidtwcoDylan DPC-265/+254
2021-03-07Move full configuration logic from `rustc_expand` to `rustc_builtin_macros`Vadim Petrochenkov-169/+6
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-05expand: Introduce enum for module loading errors and make module loading spec...Vadim Petrochenkov-87/+86
2021-03-05expand: Share some code between inline and out-of-line module treatmentVadim Petrochenkov-18/+18
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-9/+11
2021-03-05expand: Some more consistent naming in module loadingVadim Petrochenkov-55/+57
2021-03-05expand: Less path cloning during module loadingVadim Petrochenkov-37/+51
2021-03-05expand: Determine module directory path directly instead of relying on spanVadim Petrochenkov-8/+3
2021-03-05expand: Move module file path stack from global session to expansion dataVadim Petrochenkov-51/+64
2021-03-05expand: Remove obsolete `DirectoryOwnership::UnownedViaMod`Vadim Petrochenkov-52/+9
2021-02-27Combine HasAttrs and HasTokens into AstLikeAaron Hill-14/+32
2021-02-23expand: Do not allocate `Lrc` for `allow_internal_unstable` list unless neces...Vadim Petrochenkov-2/+3
2021-02-23expand: Preserve order of inert attributes during expansionVadim Petrochenkov-9/+14
2021-02-21remove redundant wrapping of return types of allow_internal_unstable() and ru...Matthias Krüger-2/+2