Fix rustdoc panic with impl Trait in type parameters
#50728
+42
−7
Merged