about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorMax Claus Nunes <maxcnunes@gmail.com>2024-11-16 13:05:47 -0300
committerMax Claus <maxclaus@posteo.com>2025-06-05 15:59:21 -0300
commit8964f6ed272d9dac4533fe1be97e5ff79de14532 (patch)
tree85d33552dcde92ee697459cb093f7e270a8c8eae /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent0ca62d1f507d6d626bc4cd266b095b86f187f6e0 (diff)
downloadrust-8964f6ed272d9dac4533fe1be97e5ff79de14532.tar.gz
rust-8964f6ed272d9dac4533fe1be97e5ff79de14532.zip
Add lint for broken doc links
Fix false positives on broken link detection

Refactor variable names

Fix doc comment about broken link lint

Refactor, remove not used variable

Improve broken link to catch more cases and span point to whole link

Include reason why a link is considered broken

Drop some checker because rustdoc already warn about them

Refactor to use a single enum instead of multiple bool variables

Fix lint warnings

Rename function to collect broken links

Warn directly instead of collecting all entries first

Iterate directly rather than collecting

Temporary change to confirm with code reviewer the next steps

Handle broken links as part of the fake_broken_link_callback handler

Simplify broken link detection without state machine usage

Fix typos

Add url check to reduce false positives

Drop reason enum as there is only one reason

Fix duplicated diagnostics

Fix linter
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions