Open
Description
Neither x test tidy --bless
, nor x test tidy --doc
, report incorrect links from /// rustdocs. Example:
- Incorrect/unregistered markdown link shortcut, and/or broken intradoc code link:
https://github.com/rust-lang/rust/actions/runs/4429807104/jobs/7770725259#step:26:2652
| /// Like [from_iter], but coallocation-aware.
| ^^^^^^^^^ no item named `from_iter` in scope
|
= help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
= note: `-D rustdoc::broken-intra-doc-links` implied by `-D warnings`
- URLs not made into links:
https://github.com/rust-lang/rust/actions/runs/4429807104/jobs/7770725259#step:26:2704
49 | /// Workaround https://github.com/rust-lang/rust/issues/108751
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://github.com/rust-lang/rust/issues/108751>`
Please, either
- make (local)
tidy
report the above, or - add steps (to the documentation) on how to check the above locally.
Side notes
- the commits for the above PR will most likely disappear as I rebase & force push, but hopefully the CI log will stay for a little while.
- I've searched in issues & https://www.google.com/search?q=site%3Ahttps%3A%2F%2Fgithub.com%2Frust-lang%2Frust+tidy+%22unresolved+link+to%22, and I couldn't find any similar issues.
Thank you in advance.