Files
rust/tests/rustdoc-ui/lints/doc_cfg_hide.stderr

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

23 lines
636 B
Plaintext
Raw Normal View History

error: `#![doc(auto_cfg(hide(...)))]` expects a list of items
--> $DIR/doc_cfg_hide.rs:2:8
|
2025-03-29 00:54:22 +01:00
LL | #![doc(auto_cfg(hide = "test"))]
| ^^^^^^^^^^^^^^^^^^^^^^^
|
2024-02-29 14:43:11 +01:00
= 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
|
2025-03-29 00:54:22 +01:00
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