Files
rust/tests/rustdoc-ui
Stuart Cook 0a5d1e8059 Rollup merge of #151255 - fix-rustdoc-ice-reexported-deprecated-note, r=lolbinarycat
rustdoc: Fix ICE when deprecated note is not resolved on the correct `DefId`

Supersedes https://github.com/rust-lang/rust/pull/151237.
Follow-up of rust-lang/rust#151120.

The `span` overlapping approach wasn't good enough so instead we now check if the reexport itself has the `deprecated` attribute, and if so, we resolve the path to the reexport `DefId`, otherwise we resolve it on the reexported item's `DefId`.

cc @Zalathar
r? @lolbinarycat
2026-01-20 18:00:10 +11:00
..
2025-12-10 12:27:34 +01:00
2025-12-10 12:27:34 +01:00
2025-12-10 12:27:34 +01:00
2025-12-10 12:27:34 +01:00
2025-12-10 12:27:34 +01:00
2024-02-29 14:43:43 +01:00
2025-12-02 18:25:13 +00:00
2025-12-10 12:27:34 +01:00
2023-11-24 19:15:52 +01:00