Improve check-cfg diagnostics (part 1)
This commit is contained in:
parent
d327d5b168
commit
a5f8dba4cd
12 changed files with 40 additions and 38 deletions
|
@ -4,7 +4,7 @@ warning: unexpected `cfg` condition value
|
|||
LL | #[cfg(feature = "invalid")]
|
||||
| ^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= note: expected values for `feature` are: test
|
||||
= note: expected values for `feature` are: `test`
|
||||
= note: `#[warn(unexpected_cfgs)]` on by default
|
||||
|
||||
warning: 1 warning emitted
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue