|
1 |
| -warning: unexpected `cfg` condition value: `linuz` |
2 |
| - --> $DIR/well-known-values.rs:7:7 |
| 1 | +warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE` |
| 2 | + --> $DIR/well-known-values.rs:27:5 |
3 | 3 | |
|
4 |
| -LL | #[cfg(target_os = "linuz")] |
5 |
| - | ^^^^^^^^^^^^------- |
6 |
| - | | |
7 |
| - | help: there is a expected value with a similar name: `"linux"` |
| 4 | +LL | debug_assertions = "_UNEXPECTED_VALUE", |
| 5 | + | ^^^^^^^^^^^^^^^^---------------------- |
| 6 | + | | |
| 7 | + | help: remove the value |
8 | 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` |
| 9 | + = note: no expected value for `debug_assertions` |
10 | 10 | = note: `#[warn(unexpected_cfgs)]` on by default
|
11 | 11 |
|
12 |
| -warning: unexpected `cfg` condition value: `0` |
13 |
| - --> $DIR/well-known-values.rs:14:7 |
| 12 | +warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE` |
| 13 | + --> $DIR/well-known-values.rs:29:5 |
| 14 | + | |
| 15 | +LL | doc = "_UNEXPECTED_VALUE", |
| 16 | + | ^^^---------------------- |
| 17 | + | | |
| 18 | + | help: remove the value |
| 19 | + | |
| 20 | + = note: no expected value for `doc` |
| 21 | + |
| 22 | +warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE` |
| 23 | + --> $DIR/well-known-values.rs:31:5 |
| 24 | + | |
| 25 | +LL | doctest = "_UNEXPECTED_VALUE", |
| 26 | + | ^^^^^^^---------------------- |
| 27 | + | | |
| 28 | + | help: remove the value |
| 29 | + | |
| 30 | + = note: no expected value for `doctest` |
| 31 | + |
| 32 | +warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE` |
| 33 | + --> $DIR/well-known-values.rs:33:5 |
| 34 | + | |
| 35 | +LL | miri = "_UNEXPECTED_VALUE", |
| 36 | + | ^^^^---------------------- |
| 37 | + | | |
| 38 | + | help: remove the value |
| 39 | + | |
| 40 | + = note: no expected value for `miri` |
| 41 | + |
| 42 | +warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE` |
| 43 | + --> $DIR/well-known-values.rs:35:5 |
| 44 | + | |
| 45 | +LL | overflow_checks = "_UNEXPECTED_VALUE", |
| 46 | + | ^^^^^^^^^^^^^^^---------------------- |
| 47 | + | | |
| 48 | + | help: remove the value |
| 49 | + | |
| 50 | + = note: no expected value for `overflow_checks` |
| 51 | + |
| 52 | +warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE` |
| 53 | + --> $DIR/well-known-values.rs:37:5 |
14 | 54 | |
|
15 |
| -LL | #[cfg(target_has_atomic = "0")] |
16 |
| - | ^^^^^^^^^^^^^^^^^^^^--- |
17 |
| - | | |
18 |
| - | help: there is a expected value with a similar name: `"8"` |
| 55 | +LL | panic = "_UNEXPECTED_VALUE", |
| 56 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 57 | + | |
| 58 | + = note: expected values for `panic` are: `abort`, `unwind` |
| 59 | + |
| 60 | +warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE` |
| 61 | + --> $DIR/well-known-values.rs:39:5 |
| 62 | + | |
| 63 | +LL | proc_macro = "_UNEXPECTED_VALUE", |
| 64 | + | ^^^^^^^^^^---------------------- |
| 65 | + | | |
| 66 | + | help: remove the value |
| 67 | + | |
| 68 | + = note: no expected value for `proc_macro` |
| 69 | + |
| 70 | +warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE` |
| 71 | + --> $DIR/well-known-values.rs:41:5 |
| 72 | + | |
| 73 | +LL | relocation_model = "_UNEXPECTED_VALUE", |
| 74 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 75 | + | |
| 76 | + = note: expected values for `relocation_model` are: `dynamic-no-pic`, `pic`, `pie`, `ropi`, `ropi-rwpi`, `rwpi`, `static` |
| 77 | + |
| 78 | +warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE` |
| 79 | + --> $DIR/well-known-values.rs:43:5 |
| 80 | + | |
| 81 | +LL | sanitize = "_UNEXPECTED_VALUE", |
| 82 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 83 | + | |
| 84 | + = note: expected values for `sanitize` are: `address`, `cfi`, `hwaddress`, `kcfi`, `kernel-address`, `leak`, `memory`, `memtag`, `safestack`, `shadow-call-stack`, `thread` |
| 85 | + |
| 86 | +warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE` |
| 87 | + --> $DIR/well-known-values.rs:46:5 |
| 88 | + | |
| 89 | +LL | target_abi = "_UNEXPECTED_VALUE", |
| 90 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 91 | + | |
| 92 | + = note: expected values for `target_abi` are: ``, `abi64`, `abiv2`, `abiv2hf`, `eabi`, `eabihf`, `elf`, `fortanix`, `ilp32`, `llvm`, `macabi`, `sim`, `softfloat`, `spe`, `uwp`, `vec-extabi`, `x32` |
| 93 | + |
| 94 | +warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE` |
| 95 | + --> $DIR/well-known-values.rs:48:5 |
| 96 | + | |
| 97 | +LL | target_arch = "_UNEXPECTED_VALUE", |
| 98 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 99 | + | |
| 100 | + = note: expected values for `target_arch` are: `aarch64`, `arm`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64` |
| 101 | + |
| 102 | +warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE` |
| 103 | + --> $DIR/well-known-values.rs:50:5 |
| 104 | + | |
| 105 | +LL | target_endian = "_UNEXPECTED_VALUE", |
| 106 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 107 | + | |
| 108 | + = note: expected values for `target_endian` are: `big`, `little` |
| 109 | + |
| 110 | +warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE` |
| 111 | + --> $DIR/well-known-values.rs:52:5 |
| 112 | + | |
| 113 | +LL | target_env = "_UNEXPECTED_VALUE", |
| 114 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 115 | + | |
| 116 | + = note: expected values for `target_env` are: ``, `eabihf`, `gnu`, `gnueabihf`, `msvc`, `musl`, `newlib`, `nto70`, `nto71`, `ohos`, `psx`, `relibc`, `sgx`, `uclibc` |
| 117 | + |
| 118 | +warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE` |
| 119 | + --> $DIR/well-known-values.rs:54:5 |
| 120 | + | |
| 121 | +LL | target_family = "_UNEXPECTED_VALUE", |
| 122 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 123 | + | |
| 124 | + = note: expected values for `target_family` are: `unix`, `wasm`, `windows` |
| 125 | + |
| 126 | +warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE` |
| 127 | + --> $DIR/well-known-values.rs:56:5 |
| 128 | + | |
| 129 | +LL | target_os = "_UNEXPECTED_VALUE", |
| 130 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 131 | + | |
| 132 | + = 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` |
| 133 | + |
| 134 | +warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE` |
| 135 | + --> $DIR/well-known-values.rs:58:5 |
| 136 | + | |
| 137 | +LL | target_pointer_width = "_UNEXPECTED_VALUE", |
| 138 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 139 | + | |
| 140 | + = note: expected values for `target_pointer_width` are: `16`, `32`, `64` |
| 141 | + |
| 142 | +warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE` |
| 143 | + --> $DIR/well-known-values.rs:60:5 |
| 144 | + | |
| 145 | +LL | target_vendor = "_UNEXPECTED_VALUE", |
| 146 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 147 | + | |
| 148 | + = note: expected values for `target_vendor` are: `apple`, `espressif`, `fortanix`, `ibm`, `kmc`, `nintendo`, `nvidia`, `pc`, `sony`, `sun`, `unikraft`, `unknown`, `uwp`, `wrs` |
| 149 | + |
| 150 | +warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE` |
| 151 | + --> $DIR/well-known-values.rs:62:5 |
| 152 | + | |
| 153 | +LL | target_has_atomic = "_UNEXPECTED_VALUE", |
| 154 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
19 | 155 | |
|
20 | 156 | = note: expected values for `target_has_atomic` are: (none), `128`, `16`, `32`, `64`, `8`, `ptr`
|
21 | 157 |
|
22 |
| -warning: unexpected `cfg` condition value: `aa` |
23 |
| - --> $DIR/well-known-values.rs:21:7 |
| 158 | +warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE` |
| 159 | + --> $DIR/well-known-values.rs:64:5 |
24 | 160 | |
|
25 |
| -LL | #[cfg(unix = "aa")] |
26 |
| - | ^^^^------- |
27 |
| - | | |
28 |
| - | help: remove the value |
| 161 | +LL | target_has_atomic_equal_alignment = "_UNEXPECTED_VALUE", |
| 162 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 163 | + | |
| 164 | + = note: expected values for `target_has_atomic_equal_alignment` are: (none), `128`, `16`, `32`, `64`, `8`, `ptr` |
| 165 | + |
| 166 | +warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE` |
| 167 | + --> $DIR/well-known-values.rs:66:5 |
| 168 | + | |
| 169 | +LL | target_has_atomic_load_store = "_UNEXPECTED_VALUE", |
| 170 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 171 | + | |
| 172 | + = note: expected values for `target_has_atomic_load_store` are: (none), `128`, `16`, `32`, `64`, `8`, `ptr` |
| 173 | + |
| 174 | +warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE` |
| 175 | + --> $DIR/well-known-values.rs:68:5 |
| 176 | + | |
| 177 | +LL | target_thread_local = "_UNEXPECTED_VALUE", |
| 178 | + | ^^^^^^^^^^^^^^^^^^^---------------------- |
| 179 | + | | |
| 180 | + | help: remove the value |
| 181 | + | |
| 182 | + = note: no expected value for `target_thread_local` |
| 183 | + |
| 184 | +warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE` |
| 185 | + --> $DIR/well-known-values.rs:70:5 |
| 186 | + | |
| 187 | +LL | test = "_UNEXPECTED_VALUE", |
| 188 | + | ^^^^---------------------- |
| 189 | + | | |
| 190 | + | help: remove the value |
| 191 | + | |
| 192 | + = note: no expected value for `test` |
| 193 | + |
| 194 | +warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE` |
| 195 | + --> $DIR/well-known-values.rs:72:5 |
| 196 | + | |
| 197 | +LL | unix = "_UNEXPECTED_VALUE", |
| 198 | + | ^^^^---------------------- |
| 199 | + | | |
| 200 | + | help: remove the value |
29 | 201 | |
|
30 | 202 | = note: no expected value for `unix`
|
31 | 203 |
|
32 |
| -warning: unexpected `cfg` condition value: `miri` |
33 |
| - --> $DIR/well-known-values.rs:28:7 |
| 204 | +warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE` |
| 205 | + --> $DIR/well-known-values.rs:74:5 |
34 | 206 | |
|
35 |
| -LL | #[cfg(miri = "miri")] |
36 |
| - | ^^^^--------- |
37 |
| - | | |
38 |
| - | help: remove the value |
| 207 | +LL | windows = "_UNEXPECTED_VALUE", |
| 208 | + | ^^^^^^^---------------------- |
| 209 | + | | |
| 210 | + | help: remove the value |
39 | 211 | |
|
40 |
| - = note: no expected value for `miri` |
| 212 | + = note: no expected value for `windows` |
41 | 213 |
|
42 |
| -warning: unexpected `cfg` condition value: `linux` |
43 |
| - --> $DIR/well-known-values.rs:35:7 |
| 214 | +warning: unexpected `cfg` condition value: `linuz` |
| 215 | + --> $DIR/well-known-values.rs:79:7 |
44 | 216 | |
|
45 |
| -LL | #[cfg(doc = "linux")] |
46 |
| - | ^^^---------- |
47 |
| - | | |
48 |
| - | help: remove the value |
| 217 | +LL | #[cfg(target_os = "linuz")] // testing that we suggest `linux` |
| 218 | + | ^^^^^^^^^^^^------- |
| 219 | + | | |
| 220 | + | help: there is a expected value with a similar name: `"linux"` |
49 | 221 | |
|
50 |
| - = note: no expected value for `doc` |
| 222 | + = 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` |
51 | 223 |
|
52 |
| -warning: 5 warnings emitted |
| 224 | +warning: 25 warnings emitted |
53 | 225 |
|
0 commit comments