We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
cargo xtask doc
1 parent c2d026d commit a256f06Copy full SHA for a256f06
xtask/src/cargo.rs
@@ -198,6 +198,9 @@ impl Cargo {
198
if self.warnings_as_errors {
199
cmd.env("RUSTDOCFLAGS", "-Dwarnings");
200
}
201
+ // We do not publicly do this on docs.rs but this helps us to prevent illegal
202
+ // intra-doc links and other rustdoc errors in the documentation of private items.
203
+ extra_args.push("--document-private-items");
204
if open {
205
extra_args.push("--open");
206
@@ -293,7 +296,7 @@ mod tests {
293
296
};
294
297
assert_eq!(
295
298
command_to_string(&cargo.command().unwrap()),
- "RUSTDOCFLAGS=-Dwarnings cargo doc --package uefi --package xtask --features alloc --open"
299
+ "RUSTDOCFLAGS=-Dwarnings cargo doc --package uefi --package xtask --features alloc --document-private-items --open"
300
);
301
302
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments