rust/compiler/rustc_session
Stuart Cook e811f07736
Rollup merge of #151589 - Urgau:documentation-scope, r=GuillaumeGomez
Add a `documentation` remapping path scope for rustdoc usage

This PR adds a new remapping path scope for rustdoc usage: `documentation`, instead of rustdoc abusing the other scopes for it's usage.

Like remapping paths in rustdoc, this scope is unstable. (rustdoc doesn't even have yet an equivalent to [rustc `--remap-path-scope`](https://doc.rust-lang.org/nightly/rustc/remap-source-paths.html#--remap-path-scope)).

I also took the opportunity to add a bit of documentation in rustdoc book.
2026-01-26 14:36:22 +11:00
..
src Rollup merge of #151589 - Urgau:documentation-scope, r=GuillaumeGomez 2026-01-26 14:36:22 +11:00
Cargo.toml Overhaul filename handling for cross-compiler consistency 2025-12-12 07:33:09 +01:00
messages.ftl Move collect_crate_types to rustc_interface, and use new attribute parser 2026-01-22 02:34:28 +00:00