Reopening of #13739: rustdoc: Inline reexported items if possible.

Mostly fixes #13045. See #13739 for the screenshots and detailed discussion; the main change remains same. I completely forgot to rebase in spite of #13777 (which also alters the very same files) being merged...