diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2024-02-15 15:23:07 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2024-02-15 15:23:07 +0100 |
| commit | 533e3f0a840cc7d803c508a9732f411ef8682188 (patch) | |
| tree | 51f106f98ebaaa11b8e698c23920dce93bf60924 | |
| parent | 4085421e9216a64b364d32ea83c5b895e3c8a07b (diff) | |
| download | rust-533e3f0a840cc7d803c508a9732f411ef8682188.tar.gz rust-533e3f0a840cc7d803c508a9732f411ef8682188.zip | |
Add comment to remind devs to update the unstable book related chapter if the check-cfg list is updated
| -rw-r--r-- | compiler/rustc_session/src/config.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_session/src/config.rs b/compiler/rustc_session/src/config.rs index ad9acd2e25d..a8b9ff056c2 100644 --- a/compiler/rustc_session/src/config.rs +++ b/compiler/rustc_session/src/config.rs @@ -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); |
