summaryrefslogtreecommitdiffstats
path: root/src/test/ui/rustdoc/feature-gate-doc_primitive.stderr
blob: 194b2d87db2319180cee93b711eba58bee5e8192 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
warning: `doc(primitive)` should never have been stable
  --> $DIR/feature-gate-doc_primitive.rs:2:7
   |
LL | #[doc(primitive = "usize")]
   |       ^^^^^^^^^^^^^^^^^^^
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
   = note: for more information, see issue #82730 <https://github.com/rust-lang/rust/issues/82730>
   = note: `#[warn(invalid_doc_attributes)]` on by default

warning: 1 warning emitted