rust/compiler/rustc_index/src
Matthias Krüger 6d41be2700
Rollup merge of #130625 - heiseish:issue-124028-fix, r=jieyouxu
Fix a few relative paths in rustc doc

## Changes

- Don't inline the doc for re-exporting some structs that have relative paths in doc.

## Context

See #124028.

- Most of the relative links in rustdoc are there because of circular import (so syntax like `[MyType]: rustc_foo::bar` is difficult to achieve when we cannot import `rustc_xxx` due to circular import)
- Here, I disable new links for re-exports. I think it's fine for re-exported items in `hir::*`.
- There is a few more relative links in other `rustc` crates, however they are not addressed in this PR, as they are not re-exported and/so the relative paths are working.

Closes #124028.

r​? `@fmease`

Let me know if I miss anything or there's any other way to address this issue.
2024-10-10 12:49:18 +02:00
..
bit_set Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
interval correct the test if IntervalSet 2022-06-08 22:44:26 +08:00
vec Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
bit_set.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
idx.rs Split {Idx, IndexVec, IndexSlice} into their own modules 2023-04-24 13:53:35 +00:00
interval.rs IntervalSet: add comment about representation 2024-09-08 16:54:28 +02:00
lib.rs no_inline for index vec 2024-09-20 23:30:31 +08:00
slice.rs assert that unexpectedly unsized fields are sized in the param env 2024-09-17 00:06:56 +02:00
vec.rs Add and use IndexVec::append 2024-08-13 13:40:05 -07:00