rust/compiler/rustc_hir/src
Matthias Krüger 2344a34241
Rollup merge of #132388 - frank-king:feature/where-cfg, r=petrochenkov
Implement `#[cfg]` in `where` clauses

This PR implements #115590, which supports `#[cfg]` attributes in `where` clauses.

The biggest change is, that it adds `AttrsVec` and  `NodeId` to the `ast::WherePredicate` and `HirId` to the `hir::WherePredicate`.
2025-03-03 10:40:56 +01:00
..
hir Fix binding mode problems 2025-02-22 00:13:19 +00:00
arena.rs Add hir::Attribute 2024-12-15 19:18:46 +01:00
def_path_hash_map.rs Move hashes from rustc_data_structure to rustc_hashes so they can be shared with rust-analyzer 2025-02-16 16:18:30 -05:00
def.rs Run clippy --fix for unnecessary_map_or lint 2025-01-19 19:15:00 +00:00
definitions.rs Greatly simplify lifetime captures in edition 2024 2025-02-22 22:24:52 +00:00
diagnostic_items.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
hir_id.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
hir.rs Rollup merge of #137686 - nbdd0121:asm_const, r=compiler-errors 2025-03-01 05:49:52 +01:00
intravisit.rs Handle asm const similar to inline const 2025-02-26 19:27:19 +00:00
lang_items.rs Greatly simplify lifetime captures in edition 2024 2025-02-22 22:24:52 +00:00
lib.rs rustc_hir: use box patterns to flatten some nested pattern matches 2025-01-28 22:22:26 +00:00
pat_util.rs Eliminate PatKind::Path 2025-01-29 15:45:13 +00:00
stable_hash_impls.rs add test to verify that #132391 can be closed 2025-02-24 14:31:19 +01:00
target.rs Implment #[cfg] and #[cfg_attr] in where clauses 2025-03-01 22:02:46 +08:00
tests.rs Move hashes from rustc_data_structure to rustc_hashes so they can be shared with rust-analyzer 2025-02-16 16:18:30 -05:00
weak_lang_items.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00