about summary refs log tree commit diff
path: root/compiler/rustc_expand/src/config.rs
AgeCommit message (Expand)AuthorLines
2021-08-25Use if-let guards in the codebaseLéo Lanteri Thauvin-8/+7
2021-08-21Remove `Session.used_attrs` and move logic to `CheckAttrVisitor`Aaron Hill-56/+13
2021-05-03Unify rustc and rustdoc parsing of `cfg()`Joshua Nelson-25/+29
2021-04-11Implement token-based handling of attributes during expansionAaron Hill-25/+96
2021-03-07Move full configuration logic from `rustc_expand` to `rustc_builtin_macros`Vadim Petrochenkov-169/+6
2021-02-27Combine HasAttrs and HasTokens into AstLikeAaron Hill-6/+20
2021-02-18ast: Stop using `Mod` in `Crate`Vadim Petrochenkov-1/+1
2021-01-14Use Option::map_or instead of `.map(..).unwrap_or(..)`LingMan-1/+1
2020-12-29Remove pretty-print/reparse hack, and add derive-specific hackAaron Hill-2/+11
2020-11-19expand: Move `fully_configure` to `config.rs`Vadim Petrochenkov-0/+45
2020-11-12Auto merge of #78782 - petrochenkov:nodoctok, r=Aaron1011bors-7/+5
2020-11-09Do not collect tokens for doc commentsVadim Petrochenkov-7/+5
2020-11-03rustc_ast: Do not panic by default when visiting macro callsVadim Petrochenkov-5/+0
2020-10-31parser: Cleanup `LazyTokenStream` and avoid some clonesVadim Petrochenkov-7/+6
2020-10-21Unconditionally capture tokens for attributes.Aaron Hill-1/+34
2020-09-10Syntactically permit unsafety on modsDavid Tolnay-1/+1
2020-08-30Run cfg-stripping on generic parameters before invoking derive macrosAaron Hill-4/+7
2020-08-30mv compiler to compiler/mark-0/+533