cc @jakevossen5 as you're interested in fixing this.
So we can commute in public here.
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.
cc @Joshua Nelson also if he want to add something.
That seems ok as a workaround.
Last updated: Oct 11 2021 at 22:34 UTC