Skip to content

Commit

Permalink
Add comment to remind devs to update the unstable book related chapte…
Browse files Browse the repository at this point in the history
…r if the check-cfg list is updated
  • Loading branch information
GuillaumeGomez committed Feb 15, 2024
1 parent 4085421 commit 533e3f0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions compiler/rustc_session/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1435,6 +1435,9 @@ impl CheckCfg {
//
// When adding a new config here you should also update
// `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);

Expand Down

0 comments on commit 533e3f0

Please sign in to comment.