ra-ap-rustc_pattern_analysis 0.92.0

Automatically published version of the package `rustc_pattern_analysis` in the rust-lang/rust repository from commit 2f0ad2a71e4a4528bb80bcb24bf8fa4e50cb87c2 The publishing script for this crate lives at: https://github.com/rust-analyzer/rustc-auto-publish
Documentation
Build #1672654 2025-01-26T08:09:39.242335+00:00
# rustc version
rustc 1.86.0-nightly (f7cc13af8 2025-01-25)# docs.rs version
docsrs 0.6.0 (29a0e81b 2025-01-22)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/ra-ap-rustc_pattern_analysis-0.92.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/ra-ap-rustc_pattern_analysis-0.92.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250125-1.86.0-nightly-f7cc13af8\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/i686-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "i686-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stdout] 3652a5fae7d72a819240e582ae11d2d01c98ac7fa54ae097e35981c7fcccc8ef
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "3652a5fae7d72a819240e582ae11d2d01c98ac7fa54ae097e35981c7fcccc8ef", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting ra-ap-rustc_pattern_analysis v0.92.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unresolved link to `rustc`
[INFO] [stderr]  --> src/lib.rs:3:7
[INFO] [stderr]   |
[INFO] [stderr] 3 | //! [`rustc`] module.
[INFO] [stderr]   |       ^^^^^ no item named `rustc` in scope
[INFO] [stderr]   |
[INFO] [stderr]   = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr]   = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: public documentation for `constructor` links to private item `Constructor::is_covered_by`
[INFO] [stderr]  --> src/constructor.rs:6:41
[INFO] [stderr]   |
[INFO] [stderr] 6 | //! is straightforward and defined in [`Constructor::is_covered_by`].
[INFO] [stderr]   |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^ this item is private
[INFO] [stderr]   |
[INFO] [stderr]   = note: this link will resolve properly if you pass `--document-private-items`
[INFO] [stderr]   = note: `#[warn(rustdoc::private_intra_doc_links)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: public documentation for `constructor` links to private item `IntRange::split`
[INFO] [stderr]   --> src/constructor.rs:49:7
[INFO] [stderr]    |
[INFO] [stderr] 49 | //! [`IntRange::split`]) and slice splitting (see [`Slice::split`]).
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^ this item is private
[INFO] [stderr]    |
[INFO] [stderr]    = note: this link will resolve properly if you pass `--document-private-items`
[INFO] [stderr] 
[INFO] [stderr] warning: public documentation for `constructor` links to private item `Slice::split`
[INFO] [stderr]   --> src/constructor.rs:49:53
[INFO] [stderr]    |
[INFO] [stderr] 49 | //! [`IntRange::split`]) and slice splitting (see [`Slice::split`]).
[INFO] [stderr]    |                                                     ^^^^^^^^^^^^ this item is private
[INFO] [stderr]    |
[INFO] [stderr]    = note: this link will resolve properly if you pass `--document-private-items`
[INFO] [stderr] 
[INFO] [stderr] warning: public documentation for `usefulness` links to private item `Constructor::is_covered_by`
[INFO] [stderr]    --> src/usefulness.rs:102:7
[INFO] [stderr]     |
[INFO] [stderr] 102 | //! [`Constructor::is_covered_by`].
[INFO] [stderr]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^ this item is private
[INFO] [stderr]     |
[INFO] [stderr]     = note: this link will resolve properly if you pass `--document-private-items`
[INFO] [stderr] 
[INFO] [stderr] warning: public documentation for `usefulness` links to private item `Constructor::is_covered_by`
[INFO] [stderr]    --> src/usefulness.rs:148:67
[INFO] [stderr]     |
[INFO] [stderr] 148 | //! Whether specialization returns something or not is given by [`Constructor::is_covered_by`].
[INFO] [stderr]     |                                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^ this item is private
[INFO] [stderr]     |
[INFO] [stderr]     = note: this link will resolve properly if you pass `--document-private-items`
[INFO] [stderr] 
[INFO] [stderr] warning: public documentation for `usefulness` links to private item `DeconstructedPat::specialize`
[INFO] [stderr]    --> src/usefulness.rs:149:50
[INFO] [stderr]     |
[INFO] [stderr] 149 | //! Specialization of a pattern is computed in [`DeconstructedPat::specialize`]. Specialization for
[INFO] [stderr]     |                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this item is private
[INFO] [stderr]     |
[INFO] [stderr]     = note: this link will resolve properly if you pass `--document-private-items`
[INFO] [stderr] 
[INFO] [stderr] warning: public documentation for `usefulness` links to private item `PatStack::pop_head_constructor`
[INFO] [stderr]    --> src/usefulness.rs:150:38
[INFO] [stderr]     |
[INFO] [stderr] 150 | //! a pattern-tuple is computed in [`PatStack::pop_head_constructor`]. Finally, specialization for a
[INFO] [stderr]     |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this item is private
[INFO] [stderr]     |
[INFO] [stderr]     = note: this link will resolve properly if you pass `--document-private-items`
[INFO] [stderr] 
[INFO] [stderr] warning: public documentation for `usefulness` links to private item `Matrix::specialize_constructor`
[INFO] [stderr]    --> src/usefulness.rs:151:44
[INFO] [stderr]     |
[INFO] [stderr] 151 | //! set of pattern-tuples is computed in [`Matrix::specialize_constructor`].
[INFO] [stderr]     |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this item is private
[INFO] [stderr]     |
[INFO] [stderr]     = note: this link will resolve properly if you pass `--document-private-items`
[INFO] [stderr] 
[INFO] [stderr] warning: public documentation for `usefulness` links to private item `WitnessStack::apply_constructor`
[INFO] [stderr]    --> src/usefulness.rs:161:50
[INFO] [stderr]     |
[INFO] [stderr] 161 | //! This is done for a single witness-tuple in [`WitnessStack::apply_constructor`], and for a set of
[INFO] [stderr]     |                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this item is private
[INFO] [stderr]     |
[INFO] [stderr]     = note: this link will resolve properly if you pass `--document-private-items`
[INFO] [stderr] 
[INFO] [stderr] warning: public documentation for `usefulness` links to private item `WitnessMatrix::apply_constructor`
[INFO] [stderr]    --> src/usefulness.rs:162:25
[INFO] [stderr]     |
[INFO] [stderr] 162 | //! witness-tuples in [`WitnessMatrix::apply_constructor`].
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this item is private
[INFO] [stderr]     |
[INFO] [stderr]     = note: this link will resolve properly if you pass `--document-private-items`
[INFO] [stderr] 
[INFO] [stderr] warning: public documentation for `usefulness` links to private item `Matrix`
[INFO] [stderr]    --> src/usefulness.rs:256:7
[INFO] [stderr]     |
[INFO] [stderr] 256 | //! [`Matrix`] stores the set of pattern-tuples under consideration. We track usefulness of each
[INFO] [stderr]     |       ^^^^^^ this item is private
[INFO] [stderr]     |
[INFO] [stderr]     = note: this link will resolve properly if you pass `--document-private-items`
[INFO] [stderr] 
[INFO] [stderr] warning: public documentation for `usefulness` links to private item `WitnessMatrix`
[INFO] [stderr]    --> src/usefulness.rs:258:55
[INFO] [stderr]     |
[INFO] [stderr] 258 | //! We gather witnesses of the usefulness of `_` in [`WitnessMatrix`]. The algorithm that computes
[INFO] [stderr]     |                                                       ^^^^^^^^^^^^^ this item is private
[INFO] [stderr]     |
[INFO] [stderr]     = note: this link will resolve properly if you pass `--document-private-items`
[INFO] [stderr] 
[INFO] [stderr] warning: public documentation for `usefulness` links to private item `compute_exhaustiveness_and_usefulness`
[INFO] [stderr]    --> src/usefulness.rs:259:22
[INFO] [stderr]     |
[INFO] [stderr] 259 | //! all this is in [`compute_exhaustiveness_and_usefulness`].
[INFO] [stderr]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this item is private
[INFO] [stderr]     |
[INFO] [stderr]     = note: this link will resolve properly if you pass `--document-private-items`
[INFO] [stderr] 
[INFO] [stderr] warning: public documentation for `usefulness` links to private item `PlaceValidity::specialize`
[INFO] [stderr]    --> src/usefulness.rs:544:7
[INFO] [stderr]     |
[INFO] [stderr] 544 | //! [`PlaceValidity::specialize`].
[INFO] [stderr]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^ this item is private
[INFO] [stderr]     |
[INFO] [stderr]     = note: this link will resolve properly if you pass `--document-private-items`
[INFO] [stderr] 
[INFO] [stderr] warning: `ra-ap-rustc_pattern_analysis` (lib doc) generated 15 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.42s
[INFO] [stderr]    Generated /opt/rustwide/target/i686-unknown-linux-gnu/doc/ra_ap_rustc_pattern_analysis/index.html
[INFO] running `Command { std: "docker" "inspect" "3652a5fae7d72a819240e582ae11d2d01c98ac7fa54ae097e35981c7fcccc8ef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3652a5fae7d72a819240e582ae11d2d01c98ac7fa54ae097e35981c7fcccc8ef", kill_on_drop: false }`
[INFO] [stdout] 3652a5fae7d72a819240e582ae11d2d01c98ac7fa54ae097e35981c7fcccc8ef