Fix rustdoc panic with impl Trait
in type parameters
#50728
Merged
impl Trait
in type parameters
#50728