about summary refs log tree commit diff
path: root/compiler/rustc_errors/src
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-04-09 14:52:37 +0200
committerGitHub <noreply@github.com>2025-04-09 14:52:37 +0200
commit7494bd9a4f408b37f3a21558eea965997d6ac103 (patch)
tree0a942e98701769d684e8967123b913ab0bb92136 /compiler/rustc_errors/src
parent4d1a63975c145df7722230820a876ddab0b06fd8 (diff)
parentd0591827ddc8268b0f248dcb02c2e20a737229aa (diff)
downloadrust-7494bd9a4f408b37f3a21558eea965997d6ac103.tar.gz
rust-7494bd9a4f408b37f3a21558eea965997d6ac103.zip
Rollup merge of #139364 - Kohei316:feat/doc-hidden-suggestion, r=nnethercote
Make the compiler suggest actual paths instead of visible paths if the visible paths are through any doc hidden path.

close #127011
Currently, when emitting a diagnostic about a valid trait, the compiler suggestes using visible paths of the trait even if they are through a doc hidden path. This PR updates the compiler to suggest actual paths in these cases.
Diffstat (limited to 'compiler/rustc_errors/src')
0 files changed, 0 insertions, 0 deletions