I tried this code:
//! Link to [S]
#[doc(no_inline)]
pub use inner::S;
mod inner {
pub struct S;
}
I expected to see this happen: Rustdoc warns that the links will all be broken
Instead, this happened: Rustdoc gives no warning and generates HTML that looks bad:

Meta
rustdoc --version: rustdoc 1.52.0-nightly (9778068 2021-02-07)
I tried this code:
I expected to see this happen: Rustdoc warns that the links will all be broken
Instead, this happened: Rustdoc gives no warning and generates HTML that looks bad:

Meta
rustdoc --version: rustdoc 1.52.0-nightly (9778068 2021-02-07)