fork/rust

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

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

master
1.8 KiB53 linesraw
1warning: unexpected `cfg` condition value
2  --> $DIR/well-known-values.rs:7:7
3   |
4LL | #[cfg(target_os = "linuz")]
5   |       ^^^^^^^^^^^^-------
6   |                   |
7   |                   help: there is a expected value with a similar name: `"linux"`
8   |
9   = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `tvos`, `uefi`, `unknown`, `vita`, `vxworks`, `wasi`, `watchos`, `windows`, `xous`
10   = note: `#[warn(unexpected_cfgs)]` on by default
11
12warning: unexpected `cfg` condition value
13  --> $DIR/well-known-values.rs:14:7
14   |
15LL | #[cfg(target_has_atomic = "0")]
16   |       ^^^^^^^^^^^^^^^^^^^^---
17   |                           |
18   |                           help: there is a expected value with a similar name: `"8"`
19   |
20   = note: expected values for `target_has_atomic` are: (none), `128`, `16`, `32`, `64`, `8`, `ptr`
21
22warning: unexpected `cfg` condition value
23  --> $DIR/well-known-values.rs:21:7
24   |
25LL | #[cfg(unix = "aa")]
26   |       ^^^^-------
27   |           |
28   |           help: remove the value
29   |
30   = note: no expected value for `unix`
31
32warning: unexpected `cfg` condition value
33  --> $DIR/well-known-values.rs:28:7
34   |
35LL | #[cfg(miri = "miri")]
36   |       ^^^^---------
37   |           |
38   |           help: remove the value
39   |
40   = note: no expected value for `miri`
41
42warning: unexpected `cfg` condition value
43  --> $DIR/well-known-values.rs:35:7
44   |
45LL | #[cfg(doc = "linux")]
46   |       ^^^----------
47   |          |
48   |          help: remove the value
49   |
50   = note: no expected value for `doc`
51
52warning: 5 warnings emitted
53