rustdoc::broken_intra_doc_links
won't catch obvious invalid links
#130126
Labels
A-intra-doc-links
Area: Intra-doc links, the ability to link to items in docs by name
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
I tried this code:
Lint
rustdoc::broken_intra_doc_links
warns by default, but it cannot catch obvious invalid links in thefanotify
module of the Nix crate.I expected to see this happen: explanation
Invalid links will be caught
Instead, this happened: explanation
They are not caught
Meta
rustc --version --verbose
:Backtrace
Context:
Today I found some invalid links in the Nix crate, and fixed them in this PR nix-rust/nix#2493, then I am surprised that they weren't caught by this lint
Steps to reproduce
The text was updated successfully, but these errors were encountered: