rust/tests/ui/rustdoc/feature-gate-doc_primitive.stderr

12 lines
381 B
Plaintext
Raw Normal View History

2023-03-21 10:44:06 -05:00
error[E0658]: `rustc_doc_primitive` is a rustc internal attribute
--> $DIR/feature-gate-doc_primitive.rs:1:1
2021-07-10 21:06:10 -05:00
|
2023-03-21 10:44:06 -05:00
LL | #[rustc_doc_primitive = "usize"]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2021-07-10 21:06:10 -05:00
|
2023-03-21 10:44:06 -05:00
= help: add `#![feature(rustc_attrs)]` to the crate attributes to enable
2021-07-10 21:06:10 -05:00
2023-03-21 10:44:06 -05:00
error: aborting due to previous error
2021-07-10 21:06:10 -05:00
2023-03-21 10:44:06 -05:00
For more information about this error, try `rustc --explain E0658`.