Closed
Description
I tried this code:
pub fn test<T>()
where
for<'a> &'a T: Iterator,
{}
I expected rustdoc
to render HRTB (for<'a>
), but it doesn't:
Originally find while viewing keyberon docs.
Meta
rustdoc --version --verbose
:
rustdoc 1.49.0-nightly (ffa2e7ae8 2020-10-24)
binary: rustdoc
commit-hash: ffa2e7ae8fbf9badc035740db949b9dae271c29f
commit-date: 2020-10-24
host: x86_64-unknown-linux-gnu
release: 1.49.0-nightly
LLVM version: 11.0
Activity
jyn514 commentedon Oct 28, 2020
Hmm, rustdoc should already handle this in
rust/src/librustdoc/html/format.rs
Line 334 in 6bea76f
PolyTrait
,GenericParamDef
. Someone would need to investigate why that isn't showing up - I suspect somewhere inclean
isn't handling it properly:rust/src/librustdoc/clean/mod.rs
Line 291 in 6bea76f
0xPoe commentedon Oct 29, 2020
@jyn514 Can I working on this? I want to have a try.
jyn514 commentedon Oct 29, 2020
@hi-rustin absolutely! If you have trouble, feel free to ask for help in the rustdoc channel or on Zulip :)
0xPoe commentedon Mar 17, 2021
@rustbot claim
0xPoe commentedon Apr 3, 2021
I started to try it.
12 remaining items