rust/tests/rustdoc-ui/invalid-cfg.stderr
2023-01-11 09:32:08 +00:00

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