about summary refs log tree commit diff
path: root/compiler/rustc_expand/src/config.rs
AgeCommit message (Expand)AuthorLines
2023-01-17`rustc_expand`: remove `ref` patternsMaybe Waffle-1/+1
2022-12-10Migrate parts of `rustc_expand` to session diagnosticsnils-59/+47
2022-11-27Prefer doc comments over `//`-comments in compilerMaybe Waffle-1/+1
2022-10-23Workaround unstable stmt_expr_attributes for method receiver expressions.Camille GILLOT-3/+7
2022-09-14make `mk_attr_id` part of `ParseSess`SparrowLii-1/+7
2022-09-09Rename `{Create,Lazy}TokenStream` as `{To,Lazy}AttrTokenStream`.Nicholas Nethercote-7/+7
2022-09-09Change return type of `Attribute::tokens`.Nicholas Nethercote-1/+1
2022-09-09Rename `AttrAnnotatedToken{Stream,Tree}`.Nicholas Nethercote-21/+21
2022-09-09Move `Spacing` out of `AttrAnnotatedTokenStream`.Nicholas Nethercote-11/+11
2022-08-22Use `AttrVec` in more places.Nicholas Nethercote-5/+3
2022-07-30Auto merge of #99887 - nnethercote:rm-TreeAndSpacing, r=petrochenkovbors-2/+2
2022-07-29Remove `TreeAndSpacing`.Nicholas Nethercote-2/+2
2022-07-28avoid `Symbol` to `String` conversionsTakayuki Maeda-1/+1
2022-07-13Rename `debugging_opts` to `unstable_opts`Joshua Nelson-1/+1
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-3/+3
2022-05-18use `CursorRef` more, to not to clone `Tree`sklensy-1/+1
2022-05-11ast: Introduce some traits to get AST node properties genericallyVadim Petrochenkov-4/+4
2022-04-29errors: `span_suggestion` takes `impl ToString`David Wood-1/+1
2022-04-28rustc_ast: Harmonize delimiter naming with `proc_macro::Delimiter`Vadim Petrochenkov-2/+2
2022-03-30Spellchecking some commentsYuri Astrakhan-1/+1
2022-03-03Move the set of features to the `features` query.Camille GILLOT-0/+3
2022-03-01Improve allowness of the unexpected_cfgs lintLoïc BRANSTETT-4/+16
2022-02-19Adopt let else in more placesest31-16/+11
2022-01-10expand: Pick `cfg`s and `cfg_attrs` one by one, like other attributesVadim Petrochenkov-82/+96
2022-01-07expand: Remove some unnecessary `self` mutabilityVadim Petrochenkov-10/+7
2021-12-15Remove unnecessary sigils around `Symbol::as_str()` calls.Nicholas Nethercote-1/+1
2021-12-07Future compatibility warning on cfg_attr on crate_type and crate_namebjorn3-1/+18
2021-10-16clippy::complexity changesMatthias Krüger-1/+1
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