2025-05-18 18:35:13 +02:00
|
|
|
error[E0658]: use of an internal attribute
|
2023-03-21 16:44:06 +01:00
|
|
|
--> $DIR/feature-gate-doc_primitive.rs:1:1
|
2021-07-10 22:06:10 -04:00
|
|
|
|
|
2023-03-21 16:44:06 +01:00
|
|
|
LL | #[rustc_doc_primitive = "usize"]
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2021-07-10 22:06:10 -04:00
|
|
|
|
|
2023-03-21 16:44:06 +01:00
|
|
|
= help: add `#![feature(rustc_attrs)]` to the crate attributes to enable
|
2025-05-18 18:35:13 +02:00
|
|
|
= note: the `#[rustc_doc_primitive]` attribute is an internal implementation detail that will never be stable
|
|
|
|
|
= note: the `#[rustc_doc_primitive]` attribute is used by the standard library to provide a way to generate documentation for primitive types
|
2021-07-10 22:06:10 -04:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2021-07-10 22:06:10 -04:00
|
|
|
|
2023-03-21 16:44:06 +01:00
|
|
|
For more information about this error, try `rustc --explain E0658`.
|