Add comment to remind devs to update the unstable book related chapter if the check-cfg list is updated

This commit is contained in:
Guillaume Gomez 2024-02-15 15:23:07 +01:00
parent 4085421e92
commit 533e3f0a84

View file

@ -1435,6 +1435,9 @@ impl CheckCfg {
// //
// When adding a new config here you should also update // When adding a new config here you should also update
// `tests/ui/check-cfg/well-known-values.rs`. // `tests/ui/check-cfg/well-known-values.rs`.
//
// Don't forget to update `src/doc/unstable-book/src/compiler-flags/check-cfg.md`
// in the unstable book as well!
ins!(sym::debug_assertions, no_values); ins!(sym::debug_assertions, no_values);