Skip to content

Commit 4defc8d

Browse files
committed
Add another note about cfg(all())
1 parent 08ac406 commit 4defc8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

text/3695-cfg_boolean_literal.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,6 @@ Searching for `cfg(false)` on [GitHub](https://github.com/search?q=%23%5Bcfg%28f
7070
# Future possibilities
7171
[future-possibilities]: #future-possibilities
7272

73-
A future lint could suggest replacing constructs such as `cfg(any())` with `cfg(false)`.
73+
A future lint could suggest replacing constructs such as `cfg(any())` with `cfg(false)`, and `cfg(all())` with `cfg(true)`.
7474

7575
The `check-cfg` lint could be with a special case for identifiers such as `FALSE` and suggest `cfg(false)` instead.

0 commit comments

Comments
 (0)