2023-10-12 16:49:56 +02:00
|
|
|
warning: unexpected `cfg` condition value: `foo`
|
2024-04-09 14:07:30 +02:00
|
|
|
--> $DIR/no-expected-values.rs:11:7
|
2022-02-20 01:26:52 +01:00
|
|
|
|
|
|
|
|
LL | #[cfg(feature = "foo")]
|
2023-04-30 15:52:44 +02:00
|
|
|
| ^^^^^^^--------
|
|
|
|
| |
|
|
|
|
| help: remove the value
|
2022-02-20 01:26:52 +01:00
|
|
|
|
|
|
|
|
= note: no expected value for `feature`
|
2023-11-22 16:50:24 +01:00
|
|
|
= help: to expect this configuration use `--check-cfg=cfg(feature, values("foo"))`
|
2024-02-25 15:45:43 +01:00
|
|
|
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
|
2022-09-18 19:55:36 +04:00
|
|
|
= note: `#[warn(unexpected_cfgs)]` on by default
|
2022-02-20 01:26:52 +01:00
|
|
|
|
2023-10-12 16:49:56 +02:00
|
|
|
warning: unexpected `cfg` condition value: `foo`
|
2024-04-09 14:07:30 +02:00
|
|
|
--> $DIR/no-expected-values.rs:15:7
|
2022-03-03 15:56:19 +01:00
|
|
|
|
|
|
|
|
LL | #[cfg(test = "foo")]
|
|
|
|
| ^^^^--------
|
|
|
|
| |
|
|
|
|
| help: remove the value
|
|
|
|
|
|
|
|
|
= note: no expected value for `test`
|
2024-02-25 15:45:43 +01:00
|
|
|
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
|
2022-03-03 15:56:19 +01:00
|
|
|
|
|
|
|
warning: 2 warnings emitted
|
2022-02-20 01:26:52 +01:00
|
|
|
|