rust/compiler/rustc_session/src
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
..
config Remove all allows for diagnostic_outside_of_impl and untranslatable_diagnostic throughout the codebase 2026-01-19 17:39:49 +01:00
code_stats.rs Document why CodeStats::type_sizes is public 2025-04-21 17:36:36 +02:00
config.rs Add the remapping path documentation scope for rustdoc usage 2026-01-24 15:33:21 +01:00
cstore.rs Rename variants of CrateDepKind to be more descriptive 2025-12-15 09:52:57 +00:00
errors.rs Move collect_crate_types to rustc_interface, and use new attribute parser 2026-01-22 02:34:28 +00:00
filesearch.rs Fix new function_casts_as_integer lint errors in core, std, panic_unwind and compiler crates 2025-11-10 16:38:28 +01:00
lib.rs Exhaustively specify names and stability of --print values 2025-11-21 11:35:07 +11:00
macros.rs Exhaustively specify names and stability of --print values 2025-11-21 11:35:07 +11:00
options.rs Rollup merge of #150780 - fzakaria:fzakaria/section-threshold, r=jackh726 2026-01-23 11:07:55 +01:00
output.rs Move collect_crate_types to rustc_interface, and use new attribute parser 2026-01-22 02:34:28 +00:00
parse.rs Remove old error emitter 2026-01-21 12:14:51 +00:00
search_paths.rs Remove all allows for diagnostic_outside_of_impl and untranslatable_diagnostic throughout the codebase 2026-01-19 17:39:49 +01:00
session.rs Remove all allows for diagnostic_outside_of_impl and untranslatable_diagnostic throughout the codebase 2026-01-19 17:39:49 +01:00
utils.rs Move NativeLibKind from rustc_session to rustc_hir 2025-08-27 20:24:59 +02:00