|
| 1 | +error: unexpected `cfg` condition value: `arm` |
| 2 | + --> $DIR/suggest-alternative-name-on-target.rs:5:7 |
| 3 | + | |
| 4 | +LL | #[cfg(target_abi = "arm")] |
| 5 | + | ^^^^^^^^^^^^^^^^^^ |
| 6 | + | |
| 7 | + = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration |
| 8 | +note: the lint level is defined here |
| 9 | + --> $DIR/suggest-alternative-name-on-target.rs:1:9 |
| 10 | + | |
| 11 | +LL | #![deny(unexpected_cfgs)] |
| 12 | + | ^^^^^^^^^^^^^^^ |
| 13 | +help: `arm` is an expected value for `target_arch` |
| 14 | + | |
| 15 | +LL - #[cfg(target_abi = "arm")] |
| 16 | +LL + #[cfg(target_arch = "arm")] |
| 17 | + | |
| 18 | + |
| 19 | +error: unexpected `cfg` condition value: `gnu` |
| 20 | + --> $DIR/suggest-alternative-name-on-target.rs:12:7 |
| 21 | + | |
| 22 | +LL | #[cfg(target_arch = "gnu")] |
| 23 | + | ^^^^^^^^^^^^^^^^^^^ |
| 24 | + | |
| 25 | + = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration |
| 26 | +help: `gnu` is an expected value for `target_env` |
| 27 | + | |
| 28 | +LL - #[cfg(target_arch = "gnu")] |
| 29 | +LL + #[cfg(target_env = "gnu")] |
| 30 | + | |
| 31 | + |
| 32 | +error: unexpected `cfg` condition value: `openbsd` |
| 33 | + --> $DIR/suggest-alternative-name-on-target.rs:19:7 |
| 34 | + | |
| 35 | +LL | #[cfg(target_env = "openbsd")] |
| 36 | + | ^^^^^^^^^^^^^^^^^^^^^^ |
| 37 | + | |
| 38 | + = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration |
| 39 | +help: `openbsd` is an expected value for `target_os` |
| 40 | + | |
| 41 | +LL - #[cfg(target_env = "openbsd")] |
| 42 | +LL + #[cfg(target_os = "openbsd")] |
| 43 | + | |
| 44 | + |
| 45 | +error: unexpected `cfg` condition value: `eabi` |
| 46 | + --> $DIR/suggest-alternative-name-on-target.rs:26:7 |
| 47 | + | |
| 48 | +LL | #[cfg(target_os = "eabi")] |
| 49 | + | ^^^^^^^^^^^^^^^^^^ |
| 50 | + | |
| 51 | + = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration |
| 52 | +help: `eabi` is an expected value for `target_abi` |
| 53 | + | |
| 54 | +LL - #[cfg(target_os = "eabi")] |
| 55 | +LL + #[cfg(target_abi = "eabi")] |
| 56 | + | |
| 57 | + |
| 58 | +error: unexpected `cfg` condition value: `windows` |
| 59 | + --> $DIR/suggest-alternative-name-on-target.rs:32:7 |
| 60 | + | |
| 61 | +LL | #[cfg(target_abi = "windows")] |
| 62 | + | ^^^^^^^^^^^^^^^^^^^^^^ |
| 63 | + | |
| 64 | + = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration |
| 65 | +help: `windows` is an expected value for `target_os` |
| 66 | + | |
| 67 | +LL - #[cfg(target_abi = "windows")] |
| 68 | +LL + #[cfg(target_os = "windows")] |
| 69 | + | |
| 70 | +help: `windows` is an expected value for `target_family` |
| 71 | + | |
| 72 | +LL - #[cfg(target_abi = "windows")] |
| 73 | +LL + #[cfg(target_family = "windows")] |
| 74 | + | |
| 75 | + |
| 76 | +error: aborting due to 5 previous errors |
| 77 | + |
0 commit comments