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/json | |
| parent | f1112099eba41abadb6f921df7edba70affe92c5 (diff) | |
rustdoc: render more cross-crate hrtbs properly
Diffstat (limited to 'src/librustdoc/json')
| -rw-r--r-- | src/librustdoc/json/conversions.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/librustdoc/json/conversions.rs b/src/librustdoc/json/conversions.rs index 4170412caef..cdf59cdd328 100644 --- a/src/librustdoc/json/conversions.rs +++ b/src/librustdoc/json/conversions.rs @@ -432,8 +432,9 @@ impl FromWithTcx<clean::WherePredicate> for WherePredicate { lifetime: convert_lifetime(lifetime), bounds: bounds.into_tcx(tcx), }, - EqPredicate { lhs, rhs } => { - WherePredicate::EqPredicate { lhs: lhs.into_tcx(tcx), rhs: rhs.into_tcx(tcx) } + // FIXME(fmease): Convert bound parameters as well. + EqPredicate { lhs, rhs, bound_params: _ } => { + WherePredicate::EqPredicate { lhs: (*lhs).into_tcx(tcx), rhs: (*rhs).into_tcx(tcx) } } } } |
