about summary refs log tree commit diff
path: root/compiler/rustc_errors/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-05-11 23:43:24 +0200
committerGitHub <noreply@github.com>2024-05-11 23:43:24 +0200
commitbeef3607ba5e0bd5ef71027a48c0eccd2d7227c6 (patch)
tree274fa3107f489b2ab2aba2171a453edaaa9ab2a7 /compiler/rustc_errors/src
parent0d4ae969eb7369eeed5409b7237e791a28d69c50 (diff)
parente89a2cc8957c1e3f3f8ba7190d7c993a15955999 (diff)
downloadrust-beef3607ba5e0bd5ef71027a48c0eccd2d7227c6.tar.gz
rust-beef3607ba5e0bd5ef71027a48c0eccd2d7227c6.zip
Rollup merge of #124939 - Urgau:hide-private-fields-aliased-type, r=GuillaumeGomez
Always hide private fields in aliased type

This PR adds a new rustdoc pass that unconditionally always strips all private fields in aliased type, since showing them, even with `--document-private-items`, is confusing, unhelpful, and run backwards to the "Aliased type" feature, which is to show the type as it would be seen by the user.

r? ```@GuillaumeGomez```
Fixes #124938
Fixes #123860
Diffstat (limited to 'compiler/rustc_errors/src')
0 files changed, 0 insertions, 0 deletions