about summary refs log tree commit diff
path: root/tests/rustdoc-ui/lints/doc_cfg_hide.stderr
blob: c63c8d607fa021116de460720023eef17b597356 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
error: `#![doc(auto_cfg(hide(...)))]` expects a list of items
  --> $DIR/doc_cfg_hide.rs:2:8
   |
LL | #![doc(auto_cfg(hide = "test"))]
   |        ^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: `#[deny(invalid_doc_attributes)]` on by default

error: `#![doc(auto_cfg(hide(...)))]` expects a list of items
  --> $DIR/doc_cfg_hide.rs:3:8
   |
LL | #![doc(auto_cfg(hide))]
   |        ^^^^^^^^^^^^^^

error: `#![doc(auto_cfg(hide(...)))]` only accepts identifiers or key/value items
  --> $DIR/doc_cfg_hide.rs:4:22
   |
LL | #![doc(auto_cfg(hide(not(windows))))]
   |                      ^^^^^^^^^^^^

error: aborting due to 3 previous errors