Files
rust/tests/rustdoc-ui
Jonathan Brouwer cc434529cb Rollup merge of #156022 - tonywu6:main, r=lolbinarycat
rustdoc: Fix cosmetic issues when reporting unresolved paths in `broken_intra_doc_links`

Fix some minor issues with how the `rustdoc::broken_intra_doc_links` lint labels unresolved items:

- [`a469a4a`] For unresolved "extern prelude" links like `::unresolved::item`
  - Previously: ```no item named `` in scope```
  - Now: ```no item named `unresolved` in scope```
- [`eeb96fa`] Some malformed paths are now accounted for, for example:
  - `std:::path`
    - Previously: ```no item named `std:` in scope```
    - Now: `has invalid path separator`
  - `std::::path`
    - Previously: ```no item named `` in scope```
    - Now: `has invalid path separator`

This PR is broken down into a few commits with their own descriptions, which I hope makes reviewing easier!

Fixes rust-lang/rust#141095

[`a469a4a`]: https://github.com/rust-lang/rust/commit/a469a4ae638200c264c553e72204335e20d661a1
[`eeb96fa`]: https://github.com/rust-lang/rust/commit/eeb96fab7c7882dca4c48aa8b5817e4acbf0d7d2
2026-05-11 23:03:07 +02:00
..
2025-12-10 12:27:34 +01:00
2025-12-10 12:27:34 +01:00
2023-01-11 09:32:08 +00:00
2025-12-02 18:25:13 +00:00
2025-12-10 12:27:34 +01:00
2023-01-11 09:32:08 +00:00
2023-01-11 09:32:08 +00:00
2023-11-24 19:15:52 +01:00