Stream: rustdoc

Topic: unable to jump to the documentation of a method


view this post on Zulip hyd-dev (Apr 25 2021 at 10:22):

I just opened this page: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_codegen_ssa/struct.CrateInfo.html
And clicked new in the "Methods" list on the left sidebar. I expected it to jump/scroll to the documentation of CrateInfo::new, but nothing happened?
(Method search results are broken in the same way.)

This seems a nightly regression, because https://doc.rust-lang.org/beta/nightly-rustc/rustc_codegen_ssa/struct.CrateInfo.html works fine for me.

view this post on Zulip hyd-dev (Apr 25 2021 at 10:38):

Also it's hiding impls by default now. The combination makes https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/context/struct.TyCtxt.html terribly broken, because I don't know how to navigate to the documentation of a query.

view this post on Zulip GuillaumeGomez (Apr 25 2021 at 11:22):

Indeed, I'll fix both issues as soon as possible.

view this post on Zulip GuillaumeGomez (Apr 25 2021 at 12:51):

Ok, so apparently, a test suite isn't run on the CI, which is why those issues appeared. I opened https://github.com/rust-lang/rust/issues/84550 about it and I also fixed half the problems.

view this post on Zulip GuillaumeGomez (Apr 25 2021 at 14:07):

@hyd-dev Both fixes are in https://github.com/rust-lang/rust/pull/84552

view this post on Zulip hyd-dev (Apr 25 2021 at 14:17):

Thanks, @GuillaumeGomez ! :heart:


Last updated: Oct 21 2021 at 20:21 UTC