2025-05-27 17:14:46 +02:00
|
|
|
error: `#![doc(auto_cfg(hide(...)))]` expects a list of items
|
2025-04-11 14:32:31 +02:00
|
|
|
--> $DIR/doc_cfg_hide.rs:2:8
|
2022-10-12 11:32:26 +02:00
|
|
|
|
|
2025-03-29 00:54:22 +01:00
|
|
|
LL | #![doc(auto_cfg(hide = "test"))]
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
2022-10-12 11:32:26 +02:00
|
|
|
|
|
2024-02-29 14:43:11 +01:00
|
|
|
= note: `#[deny(invalid_doc_attributes)]` on by default
|
2022-10-12 11:32:26 +02:00
|
|
|
|
2025-05-27 17:14:46 +02:00
|
|
|
error: `#![doc(auto_cfg(hide(...)))]` expects a list of items
|
2025-04-11 14:32:31 +02:00
|
|
|
--> $DIR/doc_cfg_hide.rs:3:8
|
2022-10-12 11:32:26 +02:00
|
|
|
|
|
2025-03-29 00:54:22 +01:00
|
|
|
LL | #![doc(auto_cfg(hide))]
|
|
|
|
|
| ^^^^^^^^^^^^^^
|
2022-10-12 11:32:26 +02:00
|
|
|
|
2025-05-29 18:39:08 +02:00
|
|
|
error: `#![doc(auto_cfg(hide(...)))]` only accepts identifiers or key/value items
|
2025-04-11 14:32:31 +02:00
|
|
|
--> $DIR/doc_cfg_hide.rs:4:22
|
2025-04-01 17:24:28 +02:00
|
|
|
|
|
|
|
|
|
LL | #![doc(auto_cfg(hide(not(windows))))]
|
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
|
error: aborting due to 3 previous errors
|
2022-10-12 11:32:26 +02:00
|
|
|
|