about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-05-06 06:21:03 +0200
committerGitHub <noreply@github.com>2024-05-06 06:21:03 +0200
commit3d97660f40154c5f766ae81d0c5dcbd22c538fc2 (patch)
treebf0f0e3a60ab4e606f196d41a7f5291ddc775ad1 /src/doc
parent80420a693f89ce4201a8e43b8d5191c7ee0fa368 (diff)
parentf90b15b7fc49b85a9c829b1c04475a0606f7f99f (diff)
downloadrust-3d97660f40154c5f766ae81d0c5dcbd22c538fc2.tar.gz
rust-3d97660f40154c5f766ae81d0c5dcbd22c538fc2.zip
Rollup merge of #124742 - Urgau:check-cfg-rustfmt, r=fmease
Add `rustfmt` cfg to well known cfgs list

This PR adds the `rustfmt` cfg to the well known cfgs list.

Related to https://github.com/rust-lang/rust/issues/124735
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`