We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 828f069 commit 1ef96a9Copy full SHA for 1ef96a9
src/doc/unstable-book/src/compiler-flags/check-cfg.md
@@ -139,7 +139,7 @@ fn do_mumble_frotz() {}
139
140
```bash
141
# This turns on checking for feature values, but not for condition names.
142
-rustc --check-cfg 'configure(feature, values("zapping", "lasers"))' \
+rustc --check-cfg 'cfg(feature, values("zapping", "lasers"))' \
143
--check-cfg 'cfg(any())' \
144
--cfg 'feature="zapping"' -Z unstable-options
145
```
0 commit comments