fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
1.6 KiB62 linesraw
1warning: unexpected `cfg` condition name
2  --> $DIR/diagnotics.rs:4:7
3   |
4LL | #[cfg(featur)]
5   |       ^^^^^^ help: there is a config with a similar name: `feature`
6   |
7   = help: expected values for `feature` are: `foo`
8   = note: `#[warn(unexpected_cfgs)]` on by default
9
10warning: unexpected `cfg` condition name
11  --> $DIR/diagnotics.rs:8:7
12   |
13LL | #[cfg(featur = "foo")]
14   |       ^^^^^^^^^^^^^^
15   |
16   = help: expected values for `feature` are: `foo`
17help: there is a config with a similar name and value
18   |
19LL | #[cfg(feature = "foo")]
20   |       ~~~~~~~
21
22warning: unexpected `cfg` condition name
23  --> $DIR/diagnotics.rs:12:7
24   |
25LL | #[cfg(featur = "fo")]
26   |       ^^^^^^^^^^^^^
27   |
28   = help: expected values for `feature` are: `foo`
29help: there is a config with a similar name and different values
30   |
31LL | #[cfg(feature = "foo")]
32   |       ~~~~~~~~~~~~~~~
33
34warning: unexpected `cfg` condition name
35  --> $DIR/diagnotics.rs:19:7
36   |
37LL | #[cfg(no_value)]
38   |       ^^^^^^^^ help: there is a config with a similar name: `no_values`
39
40warning: unexpected `cfg` condition name
41  --> $DIR/diagnotics.rs:23:7
42   |
43LL | #[cfg(no_value = "foo")]
44   |       ^^^^^^^^^^^^^^^^
45   |
46help: there is a config with a similar name and no value
47   |
48LL | #[cfg(no_values)]
49   |       ~~~~~~~~~
50
51warning: unexpected `cfg` condition value
52  --> $DIR/diagnotics.rs:27:7
53   |
54LL | #[cfg(no_values = "bar")]
55   |       ^^^^^^^^^--------
56   |                |
57   |                help: remove the value
58   |
59   = note: no expected value for `no_values`
60
61warning: 6 warnings emitted
62