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