about summary refs log tree commit diff
path: root/tests/ui/check-cfg/allow-same-level.stderr
blob: cfff03048b53cf47e7396c0ae3b9cb2274075eb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
warning: unexpected `cfg` condition name: `unknown_and_inactive_cfg`
  --> $DIR/allow-same-level.rs:15:7
   |
LL | #[cfg(unknown_and_inactive_cfg)]
   |       ^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: to expect this configuration use `--check-cfg=cfg(unknown_and_inactive_cfg)`
   = 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: `unknown_but_active_cfg`
  --> $DIR/allow-same-level.rs:20:7
   |
LL | #[cfg(unknown_but_active_cfg)]
   |       ^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: to expect this configuration use `--check-cfg=cfg(unknown_but_active_cfg)`
   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration

warning: 2 warnings emitted