rust/src/doc/rustdoc
Matthias Krüger 4dd4d9b489
Rollup merge of #115439 - fmease:rustdoc-priv-repr-transparent-heuristic, r=GuillaumeGomez
rustdoc: hide `#[repr(transparent)]` if it isn't part of the public ABI

Fixes #90435.

This hides `#[repr(transparent)]` when the non-1-ZST field the struct is "transparent" over is private.

CC `@RalfJung`

Tentatively nominating it for the release notes, feel free to remove the nomination.
`@rustbot` label needs-fcp relnotes A-rustdoc-ui
2023-10-14 19:22:16 +02:00
..
src Rollup merge of #115439 - fmease:rustdoc-priv-repr-transparent-heuristic, r=GuillaumeGomez 2023-10-14 19:22:16 +02:00
.gitignore add a new mdbook for rustdoc 2017-05-31 12:46:17 -04:00
book.toml doc(rustdoc): redirect more urls 2022-10-27 00:17:16 +08:00
README.md Stabilize extended_key_value_attributes 2021-05-18 01:01:36 -04:00

Rustdoc

This is documentation for rustdoc itself, written in mdbook format. To build the book, use x.py doc src/doc/rustdoc. To run doctests, use x.py test src/doc/rustdoc.