rustdoc: use stability, instead of features, to decide what to show by notriddle · Pull Request #124864 · rust-lang/rust (original) (raw)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, the std library doesn't contain #[feature(rustc_internal)] directly as you probably know but yeah.

There are other users of rustc_internal. I' on mobile rn but yesterday I grepped through compiler/ and saw the feature being enabled for one of the alternate backends (cranelift or gcc, I don't remember) and I assume rustfmt enables it too for rustc_{parse,ast}?

I'm just nitpicking but I don't wanna block this PR any longer.