]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/check-cfg/invalid-cfg-value.stderr
Remove implicit names and values from --cfg in --check-cfg
[rust.git] / src / test / ui / check-cfg / invalid-cfg-value.stderr
index bc2c053fed65a7efe775289b476008995feea887..6cce31d339286babadec43ef7dddd93094fb31cb 100644 (file)
@@ -5,7 +5,15 @@ LL | #[cfg(feature = "sedre")]
    |       ^^^^^^^^^^^^^^^^^
    |
    = note: `#[warn(unexpected_cfgs)]` on by default
-   = note: expected values for `feature` are: full, rand, serde
+   = note: expected values for `feature` are: full, serde
 
-warning: 1 warning emitted
+warning: unexpected `cfg` condition value
+  --> $DIR/invalid-cfg-value.rs:14:7
+   |
+LL | #[cfg(feature = "rand")]
+   |       ^^^^^^^^^^^^^^^^
+   |
+   = note: expected values for `feature` are: full, serde
+
+warning: 2 warnings emitted