diff options
| author | León Orell Valerian Liehr <liehr.exchange@gmx.net> | 2022-10-04 14:08:25 +0200 |
|---|---|---|
| committer | León Orell Valerian Liehr <liehr.exchange@gmx.net> | 2022-10-05 23:14:15 +0200 |
| commit | 73c239e5eb0b3197ee6d0faeaf85a8eaccb8a491 (patch) | |
| tree | b00473157aaff5ba71ff469c49fbeee73b88ef92 /src/librustdoc/html | |
| parent | f1112099eba41abadb6f921df7edba70affe92c5 (diff) | |
| download | rust-73c239e5eb0b3197ee6d0faeaf85a8eaccb8a491.tar.gz rust-73c239e5eb0b3197ee6d0faeaf85a8eaccb8a491.zip | |
rustdoc: render more cross-crate hrtbs properly
Diffstat (limited to 'src/librustdoc/html')
| -rw-r--r-- | src/librustdoc/html/format.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/librustdoc/html/format.rs b/src/librustdoc/html/format.rs index 6d46267931b..943a074366e 100644 --- a/src/librustdoc/html/format.rs +++ b/src/librustdoc/html/format.rs @@ -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 { |
