Files
metal2vulkan/crates
Anees Iqbal 58f2ab2f2b Private Rustdoc: the eight unresolved or redundant intra-doc links resolve
What: `cargo doc --document-private-items` under -D warnings reported eight diagnostics on
development (306d357141's tree, lint job m3-max-65851). CI's private intra-doc links step holds
each crate at 0. Each is fixed where it stands:
- metal2vulkan:
  - lower/arith/libm/mod.rs: Lib::instructions is #[cfg(test)], so the doc names it in code.
  - lower/dispatch.rs: arena_slot links KernelDecl::arena_slot, the method it means.
  - lower/fragment/fetch.rs: the link to extended_range::Blend::packed16, which no longer exists,
    goes.
  - lower/mesh/mod.rs: builtins links the BUILTINS constant.
  - lower/stage_io/plan.rs: the quoted [[render_target_array_index]] is code, not a link.
- metal2vulkan-runtime:
  - stage.rs: TEST_BOUND exists only under the device-test cfgs, so the doc names it in code.
  - device.rs: Error::StageUnfilled's explicit target was redundant, since Error is in scope.
- metal2vulkan-conformance: cases/shared_creator_formats.rs: Failure::of links
  Failure::of_rt, our side's constructor.

Why: the class of the bug row "rt private rustdoc: 3 redundant explicit links"; main's word to fix
all eight in one commit.

Verified: comments only. The compile job, with each crate's private Rustdoc -D warnings, is named
in the report.
2026-11-21 21:16:06 -08:00
..