|
1 |
| -warning: unexpected `cfg` condition name: `feature` |
2 |
| - --> $DIR/cargo-feature.rs:13:7 |
| 1 | +warning: unexpected `cfg` condition value: `serde` |
| 2 | + --> $DIR/cargo-feature.rs:14:7 |
3 | 3 | |
|
4 | 4 | LL | #[cfg(feature = "serde")]
|
5 |
| - | ^^^^^^^^^^^^^^^^^ |
| 5 | + | ^^^^^^^^^^^^^^^^^ help: remove the condition |
6 | 6 | |
|
7 |
| - = help: consider defining some features in `Cargo.toml` |
| 7 | + = note: no expected values for `feature` |
| 8 | + = help: consider adding `serde` as a feature in `Cargo.toml` |
8 | 9 | = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
|
9 | 10 | = note: `#[warn(unexpected_cfgs)]` on by default
|
10 | 11 |
|
11 |
| -warning: unexpected `cfg` condition name: `feature` |
| 12 | +warning: unexpected `cfg` condition value: (none) |
12 | 13 | --> $DIR/cargo-feature.rs:18:7
|
13 | 14 | |
|
14 | 15 | LL | #[cfg(feature)]
|
15 |
| - | ^^^^^^^ |
| 16 | + | ^^^^^^^ help: remove the condition |
16 | 17 | |
|
| 18 | + = note: no expected values for `feature` |
17 | 19 | = help: consider defining some features in `Cargo.toml`
|
18 | 20 | = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
|
19 | 21 |
|
20 | 22 | warning: unexpected `cfg` condition name: `tokio_unstable`
|
21 |
| - --> $DIR/cargo-feature.rs:23:7 |
| 23 | + --> $DIR/cargo-feature.rs:22:7 |
22 | 24 | |
|
23 | 25 | LL | #[cfg(tokio_unstable)]
|
24 | 26 | | ^^^^^^^^^^^^^^
|
25 | 27 | |
|
26 |
| - = help: expected names are: `debug_assertions`, `doc`, `doctest`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `unix`, `windows` |
| 28 | + = help: expected names are: `debug_assertions`, `doc`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `unix`, `windows` |
27 | 29 | = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(tokio_unstable)");` to the top of a `build.rs`
|
28 | 30 | = note: see <https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#check-cfg> for more information about checking conditional configuration
|
29 | 31 |
|
30 | 32 | warning: unexpected `cfg` condition name: `CONFIG_NVME`
|
31 |
| - --> $DIR/cargo-feature.rs:27:7 |
| 33 | + --> $DIR/cargo-feature.rs:26:7 |
32 | 34 | |
|
33 | 35 | LL | #[cfg(CONFIG_NVME = "m")]
|
34 | 36 | | ^^^^^^^^^^^^^^^^^
|
|
0 commit comments