Stream: rustdoc

Topic: Re. compiler-docs: Missing trait impls for type #76736


view this post on Zulip lzutao (Jan 06 2021 at 14:04):

cc @jakevossen5 as you're interested in fixing this.
So we can commute in public here.

view this post on Zulip lzutao (Jan 06 2021 at 14:12):

So, when building std with rustdoc, we ignore unstable implementation with rustc_private feature.
But when documenting compiler-docs, we want to ignore that checks.
How could we let rustdoc know it is documenting compiler internals?
Compiler crates are passed -Zforce-unstable-if-unmarked flag when compiling.
We could leverage this point.

view this post on Zulip lzutao (Jan 06 2021 at 14:13):

cc @Joshua Nelson also if he want to add something.

view this post on Zulip Joshua Nelson (Jan 06 2021 at 14:30):

That seems ok as a workaround.


Last updated: Oct 11 2021 at 22:34 UTC