2023-05-01 14:16:38 +02:00
|
|
|
warning: unexpected `cfg` condition value: (none)
|
2024-04-09 14:07:30 +02:00
|
|
|
--> $DIR/concat-values.rs:6:7
|
2023-05-01 14:16:38 +02:00
|
|
|
|
|
|
|
|
LL | #[cfg(my_cfg)]
|
|
|
|
| ^^^^^^
|
|
|
|
|
|
2024-04-23 16:18:24 +00:00
|
|
|
= note: expected values for `my_cfg` are: `bar` and `foo`
|
2023-11-22 16:50:24 +01:00
|
|
|
= help: to expect this configuration use `--check-cfg=cfg(my_cfg)`
|
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
|
2023-05-01 14:16:38 +02:00
|
|
|
= note: `#[warn(unexpected_cfgs)]` on by default
|
|
|
|
|
|
|
|
warning: unexpected `cfg` condition value: `unk`
|
2024-04-09 14:07:30 +02:00
|
|
|
--> $DIR/concat-values.rs:10:7
|
2023-05-01 14:16:38 +02:00
|
|
|
|
|
|
|
|
LL | #[cfg(my_cfg = "unk")]
|
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
2024-04-23 16:18:24 +00:00
|
|
|
= note: expected values for `my_cfg` are: `bar` and `foo`
|
2023-11-22 16:50:24 +01:00
|
|
|
= help: to expect this configuration use `--check-cfg=cfg(my_cfg, values("unk"))`
|
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
|
2023-05-01 14:16:38 +02:00
|
|
|
|
|
|
|
warning: 2 warnings emitted
|
|
|
|
|