rustdoc: Fix documenting rustc-macro crates This commit adds a "hack" to the session to track whether we're a rustdoc session or not. If we're rustdoc then we skip the expansion to add the rustc-macro infrastructure. Closes #36820 |
||
|---|---|---|
| .. | ||
| Cargo.toml | ||
| derive_registrar.rs | ||
| driver.rs | ||
| lib.rs | ||
| pretty.rs | ||
| target_features.rs | ||
| test.rs | ||