rustdoc: render more cross-crate hrtbs properly
This commit is contained in:
parent
f1112099eb
commit
73c239e5eb
10 changed files with 124 additions and 41 deletions
|
@ -331,7 +331,8 @@ pub(crate) fn print_where_clause<'a, 'tcx: 'a>(
|
|||
bounds_display.truncate(bounds_display.len() - " + ".len());
|
||||
write!(f, "{}: {bounds_display}", lifetime.print())
|
||||
}
|
||||
clean::WherePredicate::EqPredicate { lhs, rhs } => {
|
||||
// FIXME(fmease): Render bound params.
|
||||
clean::WherePredicate::EqPredicate { lhs, rhs, bound_params: _ } => {
|
||||
if f.alternate() {
|
||||
write!(f, "{:#} == {:#}", lhs.print(cx), rhs.print(cx))
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue