Files
rust/compiler
Matthias Krüger d763ffaf04 Rollup merge of #150721 - deprecated-doc-intra-link, r=GuillaumeGomez
Deprecated doc intra link

fixes https://github.com/rust-lang/rust/issues/98342
r? @GuillaumeGomez

Renders intra-doc links in the note text of the `#[deprecated]` attribute. It is quite natural to suggest some other function to use there. So e.g.

```rust
#[deprecated(since = "0.0.0", note = "use [`std::mem::size_of`] instead")]
```

renders as

<img width="431" height="74" alt="Screenshot from 2026-01-06 12-08-21" src="https://github.com/user-attachments/assets/8f608f08-13ee-4bbf-a631-6008058a51e2" />
2026-01-08 22:21:19 +01:00
..
2025-12-19 15:04:30 -08:00
2026-01-08 20:29:00 +05:00
2025-10-12 08:08:30 +00:00
2026-01-08 20:29:00 +05:00
2026-01-08 20:29:00 +05:00
2026-01-07 08:44:32 +08:00
2026-01-08 20:29:00 +05:00
2026-01-07 08:44:32 +08:00
2025-12-28 16:12:27 +00:00