mirror of
https://git.proxmox.com/git/rustc
synced 2025-07-09 04:50:38 +00:00
15 lines
342 B
Plaintext
15 lines
342 B
Plaintext
error: `cfg` is not followed by parentheses
|
|
--> $DIR/invalid-cfg.rs:2:7
|
|
|
|
|
LL | #[doc(cfg = "x")]
|
|
| ^^^^^^^^^ help: expected syntax is: `cfg(/* predicate */)`
|
|
|
|
error: multiple `cfg` predicates are specified
|
|
--> $DIR/invalid-cfg.rs:3:14
|
|
|
|
|
LL | #[doc(cfg(x, y))]
|
|
| ^
|
|
|
|
error: aborting due to 2 previous errors
|
|
|