about summary refs log tree commit diff
path: root/compiler/rustc_expand/src
AgeCommit message (Expand)AuthorLines
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
2021-02-18ast: Keep expansion status for out-of-line module itemsVadim Petrochenkov-58/+59
2021-02-18ast: Stop using `Mod` in `Crate`Vadim Petrochenkov-32/+21
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-15Rollup merge of #82129 - est31:master, r=jyn514Jonas Schievink-1/+0
2021-02-15Remove redundant bool_to_option feature gateest31-1/+0
2021-02-14expand: Remove redundant calls to configureVadim Petrochenkov-21/+3
2021-02-14expand: Remove obsolete `ExpansionConfig::keep_macs`Vadim Petrochenkov-12/+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-342/+135
2021-01-31Improve handling of spans around macro result parse errorsAaron Hill-1/+3
2021-01-28Add `SEMICOLON_IN_EXPRESSIONS_FROM_MACROS` lintAaron Hill-1/+13
2021-01-28Rollup merge of #81284 - jyn514:impl-times, r=wesleywiserYuki Okushi-3/+5
2021-01-23Make `-Z time-passes` less noisyJoshua Nelson-3/+5
2021-01-20Force token collection to run when parsing nonterminalsAaron Hill-5/+7
2021-01-17Remove dead codeRyan Levick-29/+1
2021-01-14Use Option::map_or instead of `.map(..).unwrap_or(..)`LingMan-6/+6
2021-01-12Auto merge of #80499 - matthiaskrgr:red_clos, r=estebankbors-1/+1
2021-01-10resolve: Simplify built-in macro tableVadim Petrochenkov-1/+1
2021-01-10Rollup merge of #80850 - m-ou-se:rustc-builtin-macro-name, r=petrochenkovYuki Okushi-8/+6
2021-01-09Formatting.Mara Bos-1/+3
2021-01-09Allow #[rustc_builtin_macro = "name"].Mara Bos-8/+4
2021-01-09resolve/expand: Improve attribute expansion on macro definitions and callsVadim Petrochenkov-12/+4
2021-01-07rustc_parse: Better spans for synthesized token streamsVadim Petrochenkov-9/+3
2021-01-03Make `ExpnData` fields `krate` and `orig_id` privateAaron Hill-16/+15
2021-01-03remove redundant closures (clippy::redundant_closure)Matthias Krüger-1/+1
2020-12-31Auto merge of #80459 - mark-i-m:or-pat-reg, r=petrochenkovbors-46/+62
2020-12-30Implement edition-based macro pat featuremark-46/+62
2020-12-29Remove pretty-print/reparse hack, and add derive-specific hackAaron Hill-18/+65
2020-12-22Revert "Promote missing_fragment_specifier to hard error"Wesley Wiser-15/+33
2020-12-19implement edition-specific :pat behavior for 2015/18mark-7/+26
2020-12-16Remove docs for non-existent parameters in `rustc_expand`Camelid-4/+1
2020-12-12Remove some no longer necessary `#[cfg(test)]`sVadim Petrochenkov-3/+0
2020-12-04Rollup merge of #79678 - jyn514:THE-PAPERCLIP-COMETH, r=varkorDylan DPC-8/+10
2020-12-03Fix some clippy lintsJoshua Nelson-8/+10
2020-12-01Created NestedMetaItem::name_value_literal_span methodGuillaume Gomez-6/+5
2020-11-26Properly handle attributes on statementsAaron Hill-38/+13
2020-11-24Invoke attributes on the statement for statement itemsAaron Hill-5/+50
2020-11-20Auto merge of #78088 - fusion-engineering-forks:panic-fmt-lint, r=estebankbors-1/+2
2020-11-19expand: Mark some dead code in derive expansion as unreachableVadim Petrochenkov-34/+2