about summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros/src/cfg_eval.rs
AgeCommit message (Expand)AuthorLines
2025-06-19completely deduplicate `Visitor` and `MutVisitor`Deadbeef-1/+1
2025-06-12avoid `&mut P<T>` in `visit_expr` etc methodsDeadbeef-1/+1
2025-04-02Remove `TokenStream::flattened` and `InvisibleOrigin::FlattenToken`.Nicholas Nethercote-7/+3
2025-04-02Remove `NtBlock`, `Nonterminal`, and `TokenKind::Interpolated`.Nicholas Nethercote-3/+3
2025-03-25Deduplicate assoc item cfg handlingOli Scherer-10/+3
2025-03-07Remove `NtItem` and `NtStmt`.Nicholas Nethercote-2/+3
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-11-20Itemsmaxcabrajac-1/+1
2024-11-16Rollup merge of #132787 - maxcabrajac:fnctxt, r=petrochenkovMatthias Krüger-2/+2
2024-11-15Add WalkItemKind::Ctxt so AssocCtxt is not sent to non-Assoc ItemKindsmaxcabrajac-2/+2
2024-11-14Remove unreachable code in `has_cfg_or_cfg_attr`.Nicholas Nethercote-8/+1
2024-11-14Merge matches in `configure_annotatable`.Nicholas Nethercote-57/+45
2024-11-14Inline and remove `flat_map_annotatable`.Nicholas Nethercote-39/+17
2024-11-14Make `configure_annotatable`/`flat_map_annotatable` infallible.Nicholas Nethercote-24/+22
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-2/+2
2024-08-01Distinguish the two kinds of token range.Nicholas Nethercote-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-5/+4
2024-07-22Avoid passing state that will not be visitedOli Scherer-4/+4
2024-07-22Always pass the visitor as the first argument to walk* functionsOli Scherer-14/+25
2024-07-22Sync `mut_visit` function names with immut `visit` ones (s/noop_visit/walk/)Oli Scherer-14/+14
2024-07-22Make function items in mut visitors all go through the same visit_fn function...Oli Scherer-4/+4
2024-07-22Merge impl and trait item mut visitor methods to mirror immut visitorOli Scherer-17/+15
2024-07-07Rename some attribute types for consistency.Nicholas Nethercote-1/+1
2024-07-02Simplify `CfgEval`.Nicholas Nethercote-10/+8
2024-06-05Remove `stream_to_parser`.Nicholas Nethercote-1/+1
2024-04-30Remove `extern crate tracing` from numerous crates.Nicholas Nethercote-0/+1
2024-04-25ast: Generalize item kind visitingVadim Petrochenkov-3/+3
2024-03-05Use `ControlFlow` in AST visitors.Jason Newcomb-33/+33
2024-03-05Rename all `ParseSess` variables/fields/lifetimes as `psess`.Nicholas Nethercote-2/+1
2024-01-08Make `DiagnosticBuilder::emit` consuming.Nicholas Nethercote-1/+1
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-14/+14
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