Rollup merge of #134432 - GuillaumeGomez:intra-doc-in-footnotes, r=notriddle

Fix intra doc links not generated inside footnote definitions

Fixes #132208.

The problem was that we were running the `Footnote` "pass" before the `LinkReplacer` one. Sadly, the change is bigger than it should because we can't specialize the `Iterator` trait implementation, forcing me to add a new type to handle the other `Iterator` kind (the one which still has the `Range`).

r? ``@notriddle``
This commit is contained in:
许杰友 Jieyou Xu (Joe) 2024-12-19 16:48:09 +08:00 committed by GitHub
commit 4f1eabf1b1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

Diff Content Not Available