mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +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
|
|
|