We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
cfg(all())
1 parent 08ac406 commit 4defc8dCopy full SHA for 4defc8d
text/3695-cfg_boolean_literal.md
@@ -70,6 +70,6 @@ Searching for `cfg(false)` on [GitHub](https://github.com/search?q=%23%5Bcfg%28f
70
# Future possibilities
71
[future-possibilities]: #future-possibilities
72
73
-A future lint could suggest replacing constructs such as `cfg(any())` with `cfg(false)`.
+A future lint could suggest replacing constructs such as `cfg(any())` with `cfg(false)`, and `cfg(all())` with `cfg(true)`.
74
75
The `check-cfg` lint could be with a special case for identifiers such as `FALSE` and suggest `cfg(false)` instead.
0 commit comments