rust/compiler/rustc_expand/src
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
..
mbe Remove rustc_attr_data_structures re-export from rustc_attr_parsing 2025-05-18 18:14:43 +02:00
base.rs Remove rustc_attr_data_structures re-export from rustc_attr_parsing 2025-05-18 18:14:43 +02:00
build.rs Improve pretty-printing of braces. 2025-04-29 13:46:17 +10:00
config.rs Make attribute safety validation logic more obvious 2025-05-04 21:44:50 +08:00
errors.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
expand.rs Remove associated type InvocationCollectorNode::AttrsTy 2025-05-08 19:59:48 +10:00
lib.rs update cfg(bootstrap) 2025-05-12 15:33:37 +02:00
mbe.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
module.rs Reject macro calls inside of #![crate_name] 2025-02-15 16:47:30 +01:00
placeholders.rs Move ast::Item::ident into ast::ItemKind. 2025-04-01 14:08:57 +11:00
proc_macro_server.rs Remove token::{Open,Close}Delim. 2025-04-21 07:35:56 +10:00
proc_macro.rs Remove NtItem and NtStmt. 2025-03-07 14:51:07 +11:00