]> git.lizzy.rs Git - rust.git/commit - src/tools/rust-analyzer
Rollup merge of #90420 - GuillaumeGomez:rustdoc-internals-feature, r=camelid
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Wed, 24 Nov 2021 21:56:37 +0000 (22:56 +0100)
committerGitHub <noreply@github.com>
Wed, 24 Nov 2021 21:56:37 +0000 (22:56 +0100)
commita6a1d7ca2936ddb33dbaad69ae3a8a47b9208498
tree5000d2963032cedb54c906861356172898efe916
parentcbe563a4d575f888d3889a6d8f103ce1ebbe9ad3
parent9447d1f903742619b49f8ff5959b7553730c876a
Rollup merge of #90420 - GuillaumeGomez:rustdoc-internals-feature, r=camelid

Create rustdoc_internals feature gate

As suggested by ``@camelid`` [here](https://github.com/rust-lang/rust/pull/90398#issuecomment-955093851), since `doc_keyword` and `doc_primitive` aren't meant to be stabilized, we could put them behind a same feature flag.

This is pretty much what it would look like (needs to update the tests too).

The tracking issue is https://github.com/rust-lang/rust/issues/90418.

What do you think ``@rust-lang/rustdoc`` ?
compiler/rustc_ast_passes/src/feature_gate.rs
compiler/rustc_feature/src/active.rs
compiler/rustc_passes/src/check_attr.rs
compiler/rustc_span/src/symbol.rs
library/core/src/lib.rs
library/std/src/lib.rs
src/doc/rustdoc/src/unstable-features.md