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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
476 B
Plaintext
Raw Normal View History

2023-03-21 15:44:06 +00:00
error[E0658]: `rustc_doc_primitive` is a rustc internal attribute
--> $DIR/feature-gate-doc_primitive.rs:1:1
2021-07-11 02:06:10 +00:00
|
2023-03-21 15:44:06 +00:00
LL | #[rustc_doc_primitive = "usize"]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2021-07-11 02:06:10 +00:00
|
2023-03-21 15:44:06 +00:00
= help: add `#![feature(rustc_attrs)]` to the crate attributes to enable
2024-01-10 06:39:02 +00:00
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
2021-07-11 02:06:10 +00:00
error: aborting due to 1 previous error
2021-07-11 02:06:10 +00:00
2023-03-21 15:44:06 +00:00
For more information about this error, try `rustc --explain E0658`.