about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-10-10 12:49:18 +0200
committerGitHub <noreply@github.com>2024-10-10 12:49:18 +0200
commit6d41be27005603e0e39cc8e3fefd50cfbc565e0e (patch)
treeb40725da4232cd197071e6bcf1e76841c658f512 /compiler/rustc_pattern_analysis/src
parentdf1b5d3cc2117f1ee96abca25678bc5f5604d450 (diff)
parentff86fa50fbb71073ec828e82fbfa431a3bdac2b1 (diff)
downloadrust-6d41be27005603e0e39cc8e3fefd50cfbc565e0e.tar.gz
rust-6d41be27005603e0e39cc8e3fefd50cfbc565e0e.zip
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.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions