about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2024-02-16 17:08:13 +0100
committerGitHub <noreply@github.com>2024-02-16 17:08:13 +0100
commitf60576b3dfe856c4fb6cc3b9f0cd8b554f9ca0d0 (patch)
treebbf5a6abc590cd3a13a6c9684f2a31a74ccab9c9 /src/doc
parent670bdbf8083760f5df1b1a3f4d24cdb395491790 (diff)
parent533e3f0a840cc7d803c508a9732f411ef8682188 (diff)
downloadrust-f60576b3dfe856c4fb6cc3b9f0cd8b554f9ca0d0.tar.gz
rust-f60576b3dfe856c4fb6cc3b9f0cd8b554f9ca0d0.zip
Rollup merge of #121137 - GuillaumeGomez:add-clippy-cfg, r=Urgau,Nilstrieb
Add clippy into the known `cfg` list

In clippy, we are removing the `feature = "cargo-clippy"` cfg to replace it with `clippy` in https://github.com/rust-lang/rust-clippy/pull/12292. But for it to work, we need to declare `clippy` as cfg. It makes it more coherent with other existing tools like rustdoc.

cc `@flip1995`
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/unstable-book/src/compiler-flags/check-cfg.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/doc/unstable-book/src/compiler-flags/check-cfg.md b/src/doc/unstable-book/src/compiler-flags/check-cfg.md
index bf83f6ad7c5..13027eeaf4f 100644
--- a/src/doc/unstable-book/src/compiler-flags/check-cfg.md
+++ b/src/doc/unstable-book/src/compiler-flags/check-cfg.md
@@ -77,10 +77,11 @@ Those well known names and values follows the same stability as what they refer
 Well known names and values checking is always enabled as long as at least one
 `--check-cfg` argument is present.
 
-As of `2024-01-09T`, the list of known names is as follows:
+As of `2024-02-15T`, the list of known names is as follows:
 
 <!--- See CheckCfg::fill_well_known in compiler/rustc_session/src/config.rs -->
 
+ - `clippy`
  - `debug_assertions`
  - `doc`
  - `doctest`