Skip to content

Commit 533e3f0

Browse files
Add comment to remind devs to update the unstable book related chapter if the check-cfg list is updated
1 parent 4085421 commit 533e3f0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: compiler/rustc_session/src/config.rs

+3
Original file line numberDiff line numberDiff line change
@@ -1435,6 +1435,9 @@ impl CheckCfg {
14351435
//
14361436
// When adding a new config here you should also update
14371437
// `tests/ui/check-cfg/well-known-values.rs`.
1438+
//
1439+
// Don't forget to update `src/doc/unstable-book/src/compiler-flags/check-cfg.md`
1440+
// in the unstable book as well!
14381441

14391442
ins!(sym::debug_assertions, no_values);
14401443

0 commit comments

Comments
 (0)