summaryrefslogtreecommitdiffstats
path: root/tests/ui/check-cfg/well-known-names.stderr
blob: 34c5d6172d94d68887accf9ebb59c820a9b057a3 (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
warning: unexpected `cfg` condition name
  --> $DIR/well-known-names.rs:6:7
   |
LL | #[cfg(target_oz = "linux")]
   |       ---------^^^^^^^^^^
   |       |
   |       help: there is a config with a similar name: `target_os`
   |
   = note: `#[warn(unexpected_cfgs)]` on by default

warning: unexpected `cfg` condition name
  --> $DIR/well-known-names.rs:13:7
   |
LL | #[cfg(features = "foo")]
   |       --------^^^^^^^^
   |       |
   |       help: there is a config with a similar name: `feature`

warning: unexpected `cfg` condition name
  --> $DIR/well-known-names.rs:20:7
   |
LL | #[cfg(uniw)]
   |       ^^^^ help: there is a config with a similar name: `unix`

warning: 3 warnings emitted