about summary refs log tree commit diff
path: root/compiler/rustc_session/src
diff options
context:
space:
mode:
authorUrgau <urgau@numericable.fr>2023-12-07 12:04:00 +0100
committerUrgau <urgau@numericable.fr>2023-12-09 11:59:46 +0100
commitbba9862b951d852aa67e7b91718a09b1db062942 (patch)
tree17a1fe79aec6d783921e232d40399c0974bee688 /compiler/rustc_session/src
parentc41669970a181b07ecf57c4607e50706f5d1e0c8 (diff)
downloadrust-bba9862b951d852aa67e7b91718a09b1db062942.tar.gz
rust-bba9862b951d852aa67e7b91718a09b1db062942.zip
Strengthen well known check-cfg names and values test
Diffstat (limited to 'compiler/rustc_session/src')
-rw-r--r--compiler/rustc_session/src/config.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_session/src/config.rs b/compiler/rustc_session/src/config.rs
index 4e16c378a58..ef465f371d2 100644
--- a/compiler/rustc_session/src/config.rs
+++ b/compiler/rustc_session/src/config.rs
@@ -1422,6 +1422,9 @@ impl CheckCfg {
         };
 
         // NOTE: This should be kept in sync with `default_configuration`
+        //
+        // When adding a new config here you should also update
+        // `tests/ui/check-cfg/well-known-values.rs`.
 
         let panic_values = &PanicStrategy::all();