Stream: rustdoc

Topic: Documentation for rustc_span::symbol::sym


view this post on Zulip Léo Lanteri Thauvin (Dec 30 2020 at 18:21):

In rustc_span::symbol::sym the importpub use super::sym_generated::* doesn't get inlined even though sym_generated is private, which results in missing documentation.

Is this a known bug? Should I try to manually #[doc(inline)] it?

view this post on Zulip Joshua Nelson (Dec 30 2020 at 18:22):

I expect doc(inline) would fix it. This is probably related to https://github.com/rust-lang/rust/pull/77862 somehow.

view this post on Zulip Léo Lanteri Thauvin (Dec 30 2020 at 18:33):

Checked with cargo +nightly doc --no-deps (because I'm lazy), it does inline the docs

view this post on Zulip Léo Lanteri Thauvin (Dec 30 2020 at 18:42):

#80523


Last updated: Oct 11 2021 at 22:34 UTC