mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
14d56e8338
Most of these changes either add revision names that were apparently missing, or explicitly mark a revision name as currently unused.
13 lines
491 B
Text
13 lines
491 B
Text
warning: unexpected `cfg` condition value: `bar`
|
|
--> $DIR/values-none.rs:16:7
|
|
|
|
|
LL | #[cfg(foo = "bar")]
|
|
| ^^^^^^^^^^^
|
|
|
|
|
= note: expected values for `foo` are: (none), `too`
|
|
= help: to expect this configuration use `--check-cfg=cfg(foo, values("bar"))`
|
|
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration
|
|
= note: `#[warn(unexpected_cfgs)]` on by default
|
|
|
|
warning: 1 warning emitted
|
|
|