Auto merge of #105794 - ChrisDenton:internal-doc, r=jyn514
Add CI test for documentation of hidden items in std Fixes #87844 r? `@jyn514`
This commit is contained in:
commit
fde3000299
@ -405,7 +405,7 @@ impl<'a> Arguments<'a> {
|
||||
/// 1. The `pieces` slice must be at least as long as `fmt`.
|
||||
/// 2. Every [`rt::v1::Argument::position`] value within `fmt` must be a
|
||||
/// valid index of `args`.
|
||||
/// 3. Every [`Count::Param`] within `fmt` must contain a valid index of
|
||||
/// 3. Every [`rt::v1::Count::Param`] within `fmt` must contain a valid index of
|
||||
/// `args`.
|
||||
#[doc(hidden)]
|
||||
#[inline]
|
||||
|
@ -46,7 +46,7 @@ ENV SCRIPT python3 ../x.py --stage 2 test src/tools/expand-yaml-anchors && \
|
||||
python3 ../x.py test --stage 2 src/tools/tidy && \
|
||||
python3 ../x.py test --stage 0 core alloc std test proc_macro && \
|
||||
# Build both public and internal documentation.
|
||||
RUSTDOCFLAGS="--document-private-items" python3 ../x.py doc --stage 0 library/test && \
|
||||
RUSTDOCFLAGS=\"--document-private-items --document-hidden-items\" python3 ../x.py doc --stage 0 library/test && \
|
||||
/scripts/validate-toolstate.sh && \
|
||||
/scripts/validate-error-codes.sh && \
|
||||
reuse lint && \
|
||||
|
Loading…
x
Reference in New Issue
Block a user