We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 364e961 commit 48f7148Copy full SHA for 48f7148
src/doc/rustdoc/src/unstable-features.md
@@ -177,9 +177,9 @@ Book][unstable-masked] and [its tracking issue][issue-masked].
177
This is for Rust compiler internal use only.
178
179
Since primitive types are defined in the compiler, there's no place to attach documentation
180
-attributes. The `#[doc(primitive)]` attribute is used by the standard library to provide a way
181
-to generate documentation for primitive types, and requires `#![feature(rustdoc_internals)]` to
182
-enable.
+attributes. The `#[rustc_doc_primitive = "..."]` attribute is used by the standard library to
+provide a way to generate documentation for primitive types, and requires `#![feature(rustc_attrs)]`
+to enable.
183
184
### Document keywords
185
0 commit comments