summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-ui/doc-cfg.stderr
blob: 14b7b17e04d3af476d66cc25a0c917976f8b0e53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
error: `cfg` predicate is not specified
  --> $DIR/doc-cfg.rs:3:7
   |
LL | #[doc(cfg(), cfg(foo, bar))]
   |       ^^^^^ help: expected syntax is: `cfg(/* predicate */)`

error: multiple `cfg` predicates are specified
  --> $DIR/doc-cfg.rs:3:23
   |
LL | #[doc(cfg(), cfg(foo, bar))]
   |                       ^^^

error: `cfg` predicate is not specified
  --> $DIR/doc-cfg.rs:7:7
   |
LL | #[doc(cfg())]
   |       ^^^^^ help: expected syntax is: `cfg(/* predicate */)`

error: multiple `cfg` predicates are specified
  --> $DIR/doc-cfg.rs:8:16
   |
LL | #[doc(cfg(foo, bar))]
   |                ^^^

error: aborting due to 4 previous errors