ra-ap-rustc_pattern_analysis 0.79.0

Automatically published version of the package `rustc_pattern_analysis` in the rust-lang/rust repository from commit 5afd5ad29c014de69bea61d028a1ce832ed75a75 The publishing script for this crate lives at: https://github.com/rust-analyzer/rustc-auto-publish
Documentation
Build #1550018 2024-11-17T08:11:11.229294+00:00
# rustc version
rustc 1.84.0-nightly (f2a35426b 2024-11-16)# docs.rs version
docsrs 0.6.0 (36c721fb 2024-11-06)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/ra-ap-rustc_pattern_analysis-0.79.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/ra-ap-rustc_pattern_analysis-0.79.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241116-1.84.0-nightly-f2a35426b\", \"--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}/x86_64-apple-darwin\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-apple-darwin", kill_on_drop: false }`
[INFO] [stdout] 3e37ac03a774ad24d2a631df156006b302583a24a740f52ce103737c888e4a54
[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" "3e37ac03a774ad24d2a631df156006b302583a24a740f52ce103737c888e4a54", 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.79.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unexpected `cfg` condition value: `rustc`
[INFO] [stderr]  --> src/lib.rs:8:13
[INFO] [stderr]   |
[INFO] [stderr] 8 | #![cfg_attr(feature = "rustc", feature(let_chains))]
[INFO] [stderr]   |             ^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stderr]   |
[INFO] [stderr]   = note: no expected values for `feature`
[INFO] [stderr]   = help: consider adding `rustc` as a feature in `Cargo.toml`
[INFO] [stderr]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `rustc`
[INFO] [stderr]   --> src/lib.rs:13:7
[INFO] [stderr]    |
[INFO] [stderr] 13 | #[cfg(feature = "rustc")]
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stderr]    |
[INFO] [stderr]    = note: no expected values for `feature`
[INFO] [stderr]    = help: consider adding `rustc` as a feature in `Cargo.toml`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `rustc`
[INFO] [stderr]   --> src/lib.rs:15:7
[INFO] [stderr]    |
[INFO] [stderr] 15 | #[cfg(feature = "rustc")]
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stderr]    |
[INFO] [stderr]    = note: no expected values for `feature`
[INFO] [stderr]    = help: consider adding `rustc` as a feature in `Cargo.toml`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `rustc`
[INFO] [stderr]   --> src/lib.rs:19:7
[INFO] [stderr]    |
[INFO] [stderr] 19 | #[cfg(feature = "rustc")]
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stderr]    |
[INFO] [stderr]    = note: no expected values for `feature`
[INFO] [stderr]    = help: consider adding `rustc` as a feature in `Cargo.toml`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `rustc`
[INFO] [stderr]   --> src/lib.rs:23:7
[INFO] [stderr]    |
[INFO] [stderr] 23 | #[cfg(feature = "rustc")]
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stderr]    |
[INFO] [stderr]    = note: no expected values for `feature`
[INFO] [stderr]    = help: consider adding `rustc` as a feature in `Cargo.toml`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `rustc`
[INFO] [stderr]    --> src/usefulness.rs:712:7
[INFO] [stderr]     |
[INFO] [stderr] 712 | #[cfg(feature = "rustc")]
[INFO] [stderr]     |       ^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stderr]     |
[INFO] [stderr]     = note: no expected values for `feature`
[INFO] [stderr]     = help: consider adding `rustc` as a feature in `Cargo.toml`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `rustc`
[INFO] [stderr]    --> src/usefulness.rs:723:11
[INFO] [stderr]     |
[INFO] [stderr] 723 | #[cfg(not(feature = "rustc"))]
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stderr]     |
[INFO] [stderr]     = note: no expected values for `feature`
[INFO] [stderr]     = help: consider adding `rustc` as a feature in `Cargo.toml`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `rustc`
[INFO] [stderr]    --> src/usefulness.rs:777:24
[INFO] [stderr]     |
[INFO] [stderr] 777 |             #[cfg_attr(feature = "rustc", allow(rustc::potential_query_instability))]
[INFO] [stderr]     |                        ^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stderr]     |
[INFO] [stderr]     = note: no expected values for `feature`
[INFO] [stderr]     = help: consider adding `rustc` as a feature in `Cargo.toml`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[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 23 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.44s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-apple-darwin/doc/ra_ap_rustc_pattern_analysis/index.html
[INFO] running `Command { std: "docker" "inspect" "3e37ac03a774ad24d2a631df156006b302583a24a740f52ce103737c888e4a54", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3e37ac03a774ad24d2a631df156006b302583a24a740f52ce103737c888e4a54", kill_on_drop: false }`
[INFO] [stdout] 3e37ac03a774ad24d2a631df156006b302583a24a740f52ce103737c888e4a54