mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
293 lines
16 KiB
Plaintext
293 lines
16 KiB
Plaintext
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
|
|
--> $DIR/well-known-values.rs:28:5
|
|
|
|
|
LL | clippy = "_UNEXPECTED_VALUE",
|
|
| ^^^^^^----------------------
|
|
| |
|
|
| help: remove the value
|
|
|
|
|
= note: no expected value for `clippy`
|
|
= 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 value: `_UNEXPECTED_VALUE`
|
|
--> $DIR/well-known-values.rs:30:5
|
|
|
|
|
LL | debug_assertions = "_UNEXPECTED_VALUE",
|
|
| ^^^^^^^^^^^^^^^^----------------------
|
|
| |
|
|
| help: remove the value
|
|
|
|
|
= note: no expected value for `debug_assertions`
|
|
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
|
|
|
|
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
|
|
--> $DIR/well-known-values.rs:32:5
|
|
|
|
|
LL | doc = "_UNEXPECTED_VALUE",
|
|
| ^^^----------------------
|
|
| |
|
|
| help: remove the value
|
|
|
|
|
= note: no expected value for `doc`
|
|
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
|
|
|
|
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
|
|
--> $DIR/well-known-values.rs:34:5
|
|
|
|
|
LL | doctest = "_UNEXPECTED_VALUE",
|
|
| ^^^^^^^----------------------
|
|
| |
|
|
| help: remove the value
|
|
|
|
|
= note: no expected value for `doctest`
|
|
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
|
|
|
|
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
|
|
--> $DIR/well-known-values.rs:36:5
|
|
|
|
|
LL | miri = "_UNEXPECTED_VALUE",
|
|
| ^^^^----------------------
|
|
| |
|
|
| help: remove the value
|
|
|
|
|
= note: no expected value for `miri`
|
|
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
|
|
|
|
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
|
|
--> $DIR/well-known-values.rs:38:5
|
|
|
|
|
LL | overflow_checks = "_UNEXPECTED_VALUE",
|
|
| ^^^^^^^^^^^^^^^----------------------
|
|
| |
|
|
| help: remove the value
|
|
|
|
|
= note: no expected value for `overflow_checks`
|
|
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
|
|
|
|
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
|
|
--> $DIR/well-known-values.rs:40:5
|
|
|
|
|
LL | panic = "_UNEXPECTED_VALUE",
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: expected values for `panic` are: `abort` and `unwind`
|
|
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
|
|
|
|
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
|
|
--> $DIR/well-known-values.rs:42:5
|
|
|
|
|
LL | proc_macro = "_UNEXPECTED_VALUE",
|
|
| ^^^^^^^^^^----------------------
|
|
| |
|
|
| help: remove the value
|
|
|
|
|
= note: no expected value for `proc_macro`
|
|
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
|
|
|
|
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
|
|
--> $DIR/well-known-values.rs:44:5
|
|
|
|
|
LL | relocation_model = "_UNEXPECTED_VALUE",
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: expected values for `relocation_model` are: `dynamic-no-pic`, `pic`, `pie`, `ropi`, `ropi-rwpi`, `rwpi`, and `static`
|
|
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
|
|
|
|
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
|
|
--> $DIR/well-known-values.rs:46:5
|
|
|
|
|
LL | rustfmt = "_UNEXPECTED_VALUE",
|
|
| ^^^^^^^----------------------
|
|
| |
|
|
| help: remove the value
|
|
|
|
|
= note: no expected value for `rustfmt`
|
|
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
|
|
|
|
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
|
|
--> $DIR/well-known-values.rs:48:5
|
|
|
|
|
LL | sanitize = "_UNEXPECTED_VALUE",
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: expected values for `sanitize` are: `address`, `cfi`, `dataflow`, `hwaddress`, `kcfi`, `kernel-address`, `leak`, `memory`, `memtag`, `safestack`, `shadow-call-stack`, and `thread`
|
|
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
|
|
|
|
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
|
|
--> $DIR/well-known-values.rs:50:5
|
|
|
|
|
LL | target_abi = "_UNEXPECTED_VALUE",
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: expected values for `target_abi` are: ``, `abi64`, `abiv2`, `abiv2hf`, `eabi`, `eabihf`, `elf`, `fortanix`, `ilp32`, `llvm`, `macabi`, `sim`, `softfloat`, `spe`, `uwp`, `vec-extabi`, and `x32`
|
|
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
|
|
|
|
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
|
|
--> $DIR/well-known-values.rs:52:5
|
|
|
|
|
LL | target_arch = "_UNEXPECTED_VALUE",
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: expected values for `target_arch` are: `aarch64`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa`
|
|
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
|
|
|
|
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
|
|
--> $DIR/well-known-values.rs:54:5
|
|
|
|
|
LL | target_endian = "_UNEXPECTED_VALUE",
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: expected values for `target_endian` are: `big` and `little`
|
|
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
|
|
|
|
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
|
|
--> $DIR/well-known-values.rs:56:5
|
|
|
|
|
LL | target_env = "_UNEXPECTED_VALUE",
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: expected values for `target_env` are: ``, `gnu`, `msvc`, `musl`, `newlib`, `nto70`, `nto71`, `ohos`, `p1`, `p2`, `psx`, `relibc`, `sgx`, and `uclibc`
|
|
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
|
|
|
|
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
|
|
--> $DIR/well-known-values.rs:58:5
|
|
|
|
|
LL | target_family = "_UNEXPECTED_VALUE",
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: expected values for `target_family` are: `unix`, `wasm`, and `windows`
|
|
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
|
|
|
|
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
|
|
--> $DIR/well-known-values.rs:60:5
|
|
|
|
|
LL | target_feature = "_UNEXPECTED_VALUE",
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: expected values for `target_feature` are: `10e60`, `2e3`, `3e3r1`, `3e3r2`, `3e3r3`, `3e7`, `7e10`, `a`, `aclass`, `adx`, `aes`, `altivec`, `alu32`, `atomics`, `avx`, `avx2`, `avx512bf16`, `avx512bitalg`, `avx512bw`, `avx512cd`, `avx512dq`, `avx512f`, `avx512fp16`, `avx512ifma`, `avx512vbmi`, `avx512vbmi2`, `avx512vl`, `avx512vnni`, `avx512vp2intersect`, `avx512vpopcntdq`, `avxifma`, `avxneconvert`, `avxvnni`, `avxvnniint16`, `avxvnniint8`, `bf16`, `bmi1`, `bmi2`, `bti`, `bulk-memory`, `c`, `cache`, `cmpxchg16b`, `crc`, `crt-static`, `d`, `d32`, `dit`, `doloop`, `dotprod`, `dpb`, `dpb2`, `dsp`, `dsp1e2`, `dspe60`, `e`, `e1`, `e2`, `edsp`, `elrw`, `ermsb`, `exception-handling`, `extended-const`, `f`, `f16c`, `f32mm`, `f64mm`, `fcma`, `fdivdu`, `fhm`, `flagm`, `float1e2`, `float1e3`, `float3e4`, `float7e60`, `floate1`, `fma`, `fp-armv8`, `fp16`, `fp64`, `fpuv2_df`, `fpuv2_sf`, `fpuv3_df`, `fpuv3_hf`, `fpuv3_hi`, `fpuv3_sf`, `frecipe`, `frintts`, `fxsr`, `gfni`, `hard-float`, `hard-float-abi`, `hard-tp`, `high-registers`, `hvx`, `hvx-length128b`, `hwdiv`, `i8mm`, `jsconv`, `lahfsahf`, `lasx`, `lbt`, `lor`, `lse`, `lsx`, `lvz`, `lzcnt`, `m`, `mclass`, `movbe`, `mp`, `mp1e2`, `msa`, `mte`, `multivalue`, `mutable-globals`, `neon`, `nontrapping-fptoint`, `nvic`, `paca`, `pacg`, `pan`, `pclmulqdq`, `pmuv3`, `popcnt`, `power10-vector`, `power8-altivec`, `power8-vector`, `power9-altivec`, `power9-vector`, `prfchw`, `rand`, `ras`, `rclass`, `rcpc`, `rcpc2`, `rdm`, `rdrand`, `rdseed`, `reference-types`, `relax`, `relaxed-simd`, `rtm`, `sb`, `sha`, `sha2`, `sha3`, `sign-ext`, `simd128`, `sm4`, `spe`, `ssbs`, `sse`, `sse2`, `sse3`, `sse4.1`, `sse4.2`, `sse4a`, `ssse3`, `sve`, `sve2`, `sve2-aes`, `sve2-bitperm`, `sve2-sha3`, `sve2-sm4`, `tbm`, `thumb-mode`, `thumb2`, `tme`, `trust`, `trustzone`, `ual`, `unaligned-scalar-mem`, `v`, `v5te`, `v6`, `v6k`, `v6t2`, `v7`, `v8`, `v8.1a`, `v8.2a`, `v8.3a`, `v8.4a`, `v8.5a`, `v8.6a`, `v8.7a`, `vaes`, `vdsp2e60f`, `vdspv1`, `vdspv2`, `vfp2`, `vfp3`, `vfp4`, `vh`, `virt`, `virtualization`, `vpclmulqdq`, `vsx`, `xsave`, `xsavec`, `xsaveopt`, `xsaves`, `zba`, `zbb`, `zbc`, `zbkb`, `zbkc`, `zbkx`, `zbs`, `zdinx`, `zfh`, `zfhmin`, `zfinx`, `zhinx`, `zhinxmin`, `zk`, `zkn`, `zknd`, `zkne`, `zknh`, `zkr`, `zks`, `zksed`, `zksh`, and `zkt`
|
|
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
|
|
|
|
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
|
|
--> $DIR/well-known-values.rs:62:5
|
|
|
|
|
LL | target_has_atomic = "_UNEXPECTED_VALUE",
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: expected values for `target_has_atomic` are: (none), `128`, `16`, `32`, `64`, `8`, and `ptr`
|
|
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
|
|
|
|
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
|
|
--> $DIR/well-known-values.rs:64:5
|
|
|
|
|
LL | target_has_atomic_equal_alignment = "_UNEXPECTED_VALUE",
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: expected values for `target_has_atomic_equal_alignment` are: (none), `128`, `16`, `32`, `64`, `8`, and `ptr`
|
|
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
|
|
|
|
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
|
|
--> $DIR/well-known-values.rs:66:5
|
|
|
|
|
LL | target_has_atomic_load_store = "_UNEXPECTED_VALUE",
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: expected values for `target_has_atomic_load_store` are: (none), `128`, `16`, `32`, `64`, `8`, and `ptr`
|
|
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
|
|
|
|
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
|
|
--> $DIR/well-known-values.rs:68:5
|
|
|
|
|
LL | target_os = "_UNEXPECTED_VALUE",
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= 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`, `visionos`, `vita`, `vxworks`, `wasi`, `watchos`, `windows`, `xous`, and `zkvm`
|
|
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
|
|
|
|
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
|
|
--> $DIR/well-known-values.rs:70:5
|
|
|
|
|
LL | target_pointer_width = "_UNEXPECTED_VALUE",
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: expected values for `target_pointer_width` are: `16`, `32`, and `64`
|
|
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
|
|
|
|
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
|
|
--> $DIR/well-known-values.rs:72:5
|
|
|
|
|
LL | target_thread_local = "_UNEXPECTED_VALUE",
|
|
| ^^^^^^^^^^^^^^^^^^^----------------------
|
|
| |
|
|
| help: remove the value
|
|
|
|
|
= note: no expected value for `target_thread_local`
|
|
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
|
|
|
|
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
|
|
--> $DIR/well-known-values.rs:74:5
|
|
|
|
|
LL | target_vendor = "_UNEXPECTED_VALUE",
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: expected values for `target_vendor` are: `apple`, `espressif`, `fortanix`, `ibm`, `kmc`, `nintendo`, `nvidia`, `pc`, `risc0`, `sony`, `sun`, `unikraft`, `unknown`, `uwp`, `win7`, and `wrs`
|
|
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
|
|
|
|
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
|
|
--> $DIR/well-known-values.rs:76:5
|
|
|
|
|
LL | test = "_UNEXPECTED_VALUE",
|
|
| ^^^^----------------------
|
|
| |
|
|
| help: remove the value
|
|
|
|
|
= note: no expected value for `test`
|
|
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
|
|
|
|
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
|
|
--> $DIR/well-known-values.rs:78:5
|
|
|
|
|
LL | ub_checks = "_UNEXPECTED_VALUE",
|
|
| ^^^^^^^^^----------------------
|
|
| |
|
|
| help: remove the value
|
|
|
|
|
= note: no expected value for `ub_checks`
|
|
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
|
|
|
|
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
|
|
--> $DIR/well-known-values.rs:80:5
|
|
|
|
|
LL | unix = "_UNEXPECTED_VALUE",
|
|
| ^^^^----------------------
|
|
| |
|
|
| help: remove the value
|
|
|
|
|
= note: no expected value for `unix`
|
|
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
|
|
|
|
warning: unexpected `cfg` condition value: `_UNEXPECTED_VALUE`
|
|
--> $DIR/well-known-values.rs:82:5
|
|
|
|
|
LL | windows = "_UNEXPECTED_VALUE",
|
|
| ^^^^^^^----------------------
|
|
| |
|
|
| help: remove the value
|
|
|
|
|
= note: no expected value for `windows`
|
|
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
|
|
|
|
warning: unexpected `cfg` condition value: `linuz`
|
|
--> $DIR/well-known-values.rs:88:7
|
|
|
|
|
LL | #[cfg(target_os = "linuz")] // testing that we suggest `linux`
|
|
| ^^^^^^^^^^^^-------
|
|
| |
|
|
| help: there is a expected value with a similar name: `"linux"`
|
|
|
|
|
= 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`, `visionos`, `vita`, `vxworks`, `wasi`, `watchos`, `windows`, `xous`, and `zkvm`
|
|
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
|
|
|
|
warning: 29 warnings emitted
|
|
|