]> git.lizzy.rs Git - rust.git/blob - src/doc/rustdoc/src/deprecated-features.md
Rollup merge of #106904 - khuey:preserve_debuginfo_for_rlibs, r=davidtwco
[rust.git] / src / doc / rustdoc / src / deprecated-features.md
1 # Deprecated features
2
3 ## Passes
4
5 Rustdoc has a concept called "passes". These are transformations that
6 `rustdoc` runs on your documentation before producing its final output.
7
8 Customizing passes is **deprecated**. The available passes are not considered stable and may
9 change in any release.
10
11 In the past the most common use case for customizing passes was to omit the `strip-private` pass.
12 You can do this more easily, and without risk of the pass being changed, by passing
13 [`--document-private-items`](command-line-arguments.md#--document-private-items-show-items-that-are-not-public).