mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-18 03:25:55 +00:00
28 lines
1021 B
Plaintext
28 lines
1021 B
Plaintext
|
warning: unexpected `cfg` condition value: `too`
|
||
|
--> $DIR/values-none.rs:11:7
|
||
|
|
|
||
|
LL | #[cfg(foo = "too")]
|
||
|
| ^^^--------
|
||
|
| |
|
||
|
| help: remove the value
|
||
|
|
|
||
|
= note: no expected value for `foo`
|
||
|
= help: to expect this configuration use `--check-cfg=cfg(foo, values("too"))`
|
||
|
= note: see <https://doc.rust-lang.org/nightly/unstable-book/compiler-flags/check-cfg.html> for more information about checking conditional configuration
|
||
|
= note: `#[warn(unexpected_cfgs)]` on by default
|
||
|
|
||
|
warning: unexpected `cfg` condition value: `bar`
|
||
|
--> $DIR/values-none.rs:16:7
|
||
|
|
|
||
|
LL | #[cfg(foo = "bar")]
|
||
|
| ^^^--------
|
||
|
| |
|
||
|
| help: remove the value
|
||
|
|
|
||
|
= note: no expected value for `foo`
|
||
|
= help: to expect this configuration use `--check-cfg=cfg(foo, values("bar"))`
|
||
|
= note: see <https://doc.rust-lang.org/nightly/unstable-book/compiler-flags/check-cfg.html> for more information about checking conditional configuration
|
||
|
|
||
|
warning: 2 warnings emitted
|
||
|
|