rust/tests/ui/check-cfg/no-expected-values.mixed.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
582 B
Plaintext
Raw Normal View History

warning: unexpected `cfg` condition value: `foo`
--> $DIR/no-expected-values.rs:12:7
|
LL | #[cfg(feature = "foo")]
2023-04-30 08:52:44 -05:00
| ^^^^^^^--------
| |
| help: remove the value
|
= note: no expected value for `feature`
2022-09-18 10:55:36 -05:00
= note: `#[warn(unexpected_cfgs)]` on by default
warning: unexpected `cfg` condition value: `foo`
--> $DIR/no-expected-values.rs:16:7
|
LL | #[cfg(test = "foo")]
| ^^^^--------
| |
| help: remove the value
|
= note: no expected value for `test`
warning: 2 warnings emitted