rustdoc: Render associated types on traits and impls
rustdoc: render ast::QPath

Fix #18594
auto merge of #19174 : tomjakubowski/rust/rustdoc-assoc-types, r=alexcrichton

Render associated types on traits and impls, and qualified paths in types.

r? @alexcrichton