]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc-ui/invalid-cfg.stderr
Rollup merge of #106664 - chenyukang:yukang/fix-106597-remove-lseek, r=cuviper
[rust.git] / tests / rustdoc-ui / invalid-cfg.stderr
1 error: `cfg` is not followed by parentheses
2   --> $DIR/invalid-cfg.rs:2:7
3    |
4 LL | #[doc(cfg = "x")]
5    |       ^^^^^^^^^ help: expected syntax is: `cfg(/* predicate */)`
6
7 error: multiple `cfg` predicates are specified
8   --> $DIR/invalid-cfg.rs:3:14
9    |
10 LL | #[doc(cfg(x, y))]
11    |              ^
12
13 error: aborting due to 2 previous errors
14