Code
#![deny(rustdoc::redundant_explicit_links)]
/// [B](struct.B.html)
pub struct A;
pub struct B;
Reproduction Steps
run rustdoc on the above file.
Expected Outcome
rustdoc::redundant_explicit_links is emitted.
Actual Outcome
No output, successful compilation
Version
rustdoc 1.94.0 (4a4ef49 2026-03-02)
Additional Details
Unsure if this is intentional, a technical limitation, or just a simple bug, but it is strange.
Code
Reproduction Steps
run rustdoc on the above file.
Expected Outcome
rustdoc::redundant_explicit_linksis emitted.Actual Outcome
No output, successful compilation
Version
rustdoc 1.94.0 (4a4ef49 2026-03-02)
Additional Details
Unsure if this is intentional, a technical limitation, or just a simple bug, but it is strange.