about summary refs log tree commit diff
path: root/tests/rustdoc-ui/doc-cfg-check-cfg.cfg_empty.stderr
blob: 0878f7edbf480cedbd1d26e03198583cdf8ea149 (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
27
28
29
30
warning: unexpected `cfg` condition name: `foo`
  --> $DIR/doc-cfg-check-cfg.rs:12:12
   |
LL | #![doc(cfg(foo))]
   |            ^^^
   |
   = help: to expect this configuration use `--check-cfg=cfg(foo)`
   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
   = note: `#[warn(unexpected_cfgs)]` on by default

warning: unexpected `cfg` condition name: `foo`
  --> $DIR/doc-cfg-check-cfg.rs:19:11
   |
LL | #[doc(cfg(foo))]
   |           ^^^
   |
   = help: to expect this configuration use `--check-cfg=cfg(foo)`
   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition name: `foo`
  --> $DIR/doc-cfg-check-cfg.rs:15:11
   |
LL | #[doc(cfg(foo))]
   |           ^^^
   |
   = help: to expect this configuration use `--check-cfg=cfg(foo)`
   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration

warning: 3 warnings emitted