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