rustdoc: show default type parameters in generics

fix #12291
auto merge of #15089 : tomjakubowski/rust/rustdoc-default-typarams-12291, r=alexcrichton

fix #12291