about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
authorUrgau <urgau@numericable.fr>2024-05-05 12:23:51 +0200
committerUrgau <urgau@numericable.fr>2024-05-05 14:30:35 +0200
commitf90b15b7fc49b85a9c829b1c04475a0606f7f99f (patch)
tree9e27ff526504e6ee5da7827c8c63c5407b5e4abc /src/doc
parent02f7806ecd641d67c8f046b073323c7e176ee6d2 (diff)
downloadrust-f90b15b7fc49b85a9c829b1c04475a0606f7f99f.tar.gz
rust-f90b15b7fc49b85a9c829b1c04475a0606f7f99f.zip
Add `rustfmt` cfg to well known cfgs list
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/rustc/src/check-cfg.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/doc/rustc/src/check-cfg.md b/src/doc/rustc/src/check-cfg.md
index 37708bda1f3..56198437ee9 100644
--- a/src/doc/rustc/src/check-cfg.md
+++ b/src/doc/rustc/src/check-cfg.md
@@ -71,7 +71,7 @@ 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-04-06T`, the list of known names is as follows:
+As of `2024-05-06T`, the list of known names is as follows:
 
 <!--- See CheckCfg::fill_well_known in compiler/rustc_session/src/config.rs -->
 
@@ -84,6 +84,7 @@ As of `2024-04-06T`, the list of known names is as follows:
  - `panic`
  - `proc_macro`
  - `relocation_model`
+ - `rustfmt`
  - `sanitize`
  - `sanitizer_cfi_generalize_pointers`
  - `sanitizer_cfi_normalize_integers`