summaryrefslogtreecommitdiffstats
path: root/tests/ui/rustdoc/feature-gate-doc_primitive.stderr
blob: 5920880675d7ef2e514a6c4555137229141984cd (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0658]: `rustc_doc_primitive` is a rustc internal attribute
  --> $DIR/feature-gate-doc_primitive.rs:1:1
   |
LL | #[rustc_doc_primitive = "usize"]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: add `#![feature(rustc_attrs)]` to the crate attributes to enable

error: aborting due to previous error

For more information about this error, try `rustc --explain E0658`.