blob: 5de5e3b806594331452533bc969d78f33a361320 [file]
error: `#![doc(auto_cfg(any(...)))]` only accepts identifiers or `values(...)`
--> $DIR/doc-cfg-4.rs:6:40
|
LL | #![doc(auto_cfg(hide(target_os, values(any("linux")))))]
| ^^^^^^^^^^^^
|
note: the lint level is defined here
--> $DIR/doc-cfg-4.rs:3:9
|
LL | #![deny(invalid_doc_attributes)]
| ^^^^^^^^^^^^^^^^^^^^^^
error: `#![doc(auto_cfg(none(...)))]` only accepts identifiers or `values(...)`
--> $DIR/doc-cfg-4.rs:7:40
|
LL | #![doc(auto_cfg(hide(target_os, values(none("linux")))))]
| ^^^^^^^^^^^^^
error: aborting due to 2 previous errors