Closed
Description
#59789 reverts some changes made to rustc internals that were rustdoc specific (and would be wrong if the compiler actually ended up using these changes, even if they solve a rustdoc problem).
Ideally we'd expose some rustdoc_foo
methods that offer exactly what rustdoc needs, instead of changing the regular compiler-code.
cc @rust-lang/compiler @rust-lang/rustdoc