mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-05 01:24:03 +00:00
21 lines
522 B
Plaintext
21 lines
522 B
Plaintext
error: `#![doc(auto_cfg(hide(...)))]` expects a list of items
|
|
--> $DIR/doc_cfg_hide.rs:3:17
|
|
|
|
|
LL | #![doc(auto_cfg(hide = "test"))]
|
|
| ^^^^^^^^^^^^^
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/doc_cfg_hide.rs:1:9
|
|
|
|
|
LL | #![deny(invalid_doc_attributes)]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: `#![doc(auto_cfg(hide(...)))]` expects a list of items
|
|
--> $DIR/doc_cfg_hide.rs:4:17
|
|
|
|
|
LL | #![doc(auto_cfg(hide))]
|
|
| ^^^^
|
|
|
|
error: aborting due to 2 previous errors
|
|
|