rust/compiler/rustc_middle/src/middle
Stuart Cook 599b08ada8
Rollup merge of #140874 - mejrs:rads, r=WaffleLapkin
make `rustc_attr_parsing` less dominant in the rustc crate graph

It has/had a glob re-export of `rustc_attr_data_structures`, which is a crate much lower in the graph, and a lot of crates were using it *just* (or *mostly*) for that re-export, while they can rely on `rustc_attr_data_structures` directly.

Previous graph:
![graph_1](https://github.com/user-attachments/assets/f4a5f13c-4222-4903-b56d-28c83511fcbd)

Graph with this PR:
![graph_2](https://github.com/user-attachments/assets/1e053d9c-75cc-402b-84df-86229c98277a)

The first commit keeps the re-export, and just changes the dependency if possible. The second commit is the "breaking change" which removes the re-export, and "explicitly" adds the `rustc_attr_data_structures` dependency where needed. It also switches over some src/tools/*.

The second commit is actually a lot more involved than I expected. Please let me know if it's a better idea to back it out and just keep the first commit.
2025-05-19 13:24:54 +10:00
..
codegen_fn_attrs.rs Rollup merge of #138842 - Noratrieb:inline-exported, r=me,saethlin 2025-03-31 14:36:22 +02:00
debugger_visualizer.rs tree-wide: parallel: Fully removed all Lrc, replaced with Arc 2025-02-03 13:25:57 +03:00
dependency_format.rs Make DependencyList an IndexVec 2024-12-19 15:30:32 +00:00
exported_symbols.rs Revert "Fix linking statics on Arm64EC #140176" 2025-05-15 16:54:27 +08:00
lang_items.rs Use is_lang_item and as_lang_item instead of handrolling their logic 2025-04-22 11:02:37 +00:00
mod.rs Fix binding mode problems 2025-02-22 00:13:19 +00:00
privacy.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
region.rs Move methods from Map to TyCtxt, part 5. 2025-04-02 10:00:46 +11:00
resolve_bound_vars.rs Remove NamedVarMap. 2025-01-30 09:39:52 +11:00
stability.rs Remove rustc_attr_data_structures re-export from rustc_attr_parsing 2025-05-18 18:14:43 +02:00