about summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros/src/cfg_eval.rs
AgeCommit message (Expand)AuthorLines
2023-08-11rustc: Move `features` from `Session` to `GlobalCtxt`Vadim Petrochenkov-1/+2
2023-05-24Use `Option::is_some_and` and `Result::is_ok_and` in the compilerMaybe Waffle-1/+1
2023-05-01Do not recover when parsing stmt in cfg-eval.Camille GILLOT-1/+3
2022-10-23Workaround unstable stmt_expr_attributes for method receiver expressions.Camille GILLOT-1/+8
2022-09-13Emit an error instead of reconstructing token stream.Camille GILLOT-28/+36
2022-09-09Rename `AttrAnnotatedToken{Stream,Tree}`.Nicholas Nethercote-3/+3
2022-05-22rustc_parse: Move AST -> TokenStream conversion logic to `rustc_ast`Vadim Petrochenkov-10/+1
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-2/+2
2022-05-11ast: Introduce some traits to get AST node properties genericallyVadim Petrochenkov-8/+3
2022-03-30Spellchecking some commentsYuri Astrakhan-1/+1
2022-03-03Rollup merge of #94433 - Urgau:check-cfg-allowness, r=petrochenkovDylan DPC-2/+4
2022-03-01Improve allowness of the unexpected_cfgs lintLoïc BRANSTETT-2/+4
2022-03-01compiler: fix some typoscuishuang-1/+1
2021-12-15Add a lint for duplicated attributes.Ethiraric-1/+2
2021-12-01Rollup merge of #91313 - petrochenkov:cratexp, r=Aaron1011Matthias Krüger-0/+5
2021-11-28Avoid uneccessary clone of AnnotatableAlan Egerton-22/+30
2021-11-28expand: Turn `ast::Crate` into a first class expansion targetVadim Petrochenkov-0/+5
2021-09-24derive: Do not configure or clone items unless necessaryVadim Petrochenkov-15/+14
2021-06-20cfg_eval: Replace multiple `unwrap`s with a single `unwrap`Vadim Petrochenkov-24/+24
2021-06-20expand: Move some more derive logic to `rustc_builtin_macros`Vadim Petrochenkov-6/+5
2021-04-11Implement token-based handling of attributes during expansionAaron Hill-55/+167
2021-03-16ast/hir: Rename field-related structuresVadim Petrochenkov-12/+12
2021-03-07rustc_builtin_macros: Share some more logic between `derive` and `cfg_eval`Vadim Petrochenkov-8/+11
2021-03-07cfg_eval: Configure everything through mutable visitor methodsVadim Petrochenkov-70/+27
2021-03-07Move full configuration logic from `rustc_expand` to `rustc_builtin_macros`Vadim Petrochenkov-4/+172
2021-03-06Implement built-in attribute macro `#[cfg_eval]`Vadim Petrochenkov-0/+29